Why doesn't python's list append() method return the list itself?

Nathan Rice nathan.alexander.rice at gmail.com
Mon Jul 12 01:03:45 EDT 2010


Yeah, I long ago filed the in place place in the same folder as
strings-as-sequences, all() returning True for an empty iterable and any
returning True rather than the thing which triggered it.  Almost always
annoying and worked around, but that's the price you pay for the other nice
stuff :)  It just takes writing a few hundred lines of Java code for me to
shrug and forget about it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100712/35509030/attachment-0001.html>


More information about the Python-list mailing list