Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77717

Re: Passing a list into a list .append() method

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'expected.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:into': 0.09; 'subject:method': 0.09; 'worked.': 0.09; 'both,': 0.16; 'message-id:@post.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'header:User-Agent:1': 0.23; 'subject: .': 0.24; 'paul': 0.24; 'header:X-Complaints-To:1': 0.27; 'correct': 0.29; 'subject:list': 0.30; "i'm": 0.30; 'writes:': 0.31; 'much.': 0.36; 'charset:us- ascii': 0.36; 'thank': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'helps': 0.61; 'subject: ': 0.61; 'myself': 0.63; 'otten': 0.84; 'received:fios.verizon.net': 0.84; 'received:lsanca.fios.verizon.net': 0.84; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From JBB <jeanbigboute@gmail.com>
Subject Re: Passing a list into a list .append() method
Date Tue, 9 Sep 2014 07:37:34 +0000 (UTC)
References <mailman.13886.1410242108.18130.python-list@python.org> <1410246769.28830.23.camel@pcom01.wugen>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host sea.gmane.org
User-Agent Loom/3.14 (http://gmane.org/)
X-Loom-IP 108.47.76.172 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:25.0) Gecko/20100101 Firefox/25.0)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13890.1410248972.18130.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1410248972 news.xs4all.nl 2953 [2001:888:2000:d::a6]:52622
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77717

Show key headers only | View raw


Paul Kroeger <news <at> prz-wugen.com> writes:

> 
> Hello,
> 
> I'm myself still learning Python, so others may please correct me, if
> I'm wrong.
...
> I hope, the above helps to understand why this behaviour.is to be
> expected.
>

To Peter Otten and Paul Kroeger:

Thank you both, very much.  I think I now get why the binding works as it
does in addition to why the list() approach worked.  

JBB

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Passing a list into  a list .append() method JBB <jeanbigboute@gmail.com> - 2014-09-09 05:50 +0000
  Re: Passing a list into  a list .append() method Paul Kroeger <news@prz-wugen.com> - 2014-09-09 09:12 +0200
    Re: Passing a list into  a list .append() method JBB <jeanbigboute@gmail.com> - 2014-09-09 07:37 +0000
  Re: Passing a list into  a list .append() method Rustom Mody <rustompmody@gmail.com> - 2014-09-09 05:07 -0700

csiph-web