This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, pitrou, rhettinger
Date 2013-10-23.19:40:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a patch. Micro-benchmark:

$ ./python -m timeit -s "l=[]; it=(x for x in ())" "l.extend(it)"
-> before: 0.449 usec per loop
-> after: 0.179 usec per loop
Date User Action Args
2013-10-23 19:40:47pitrousetrecipients: + pitrou, rhettinger, benjamin.peterson
2013-10-23 19:40:47pitrousetmessageid: <>
2013-10-23 19:40:47pitroulinkissue19369 messages
2013-10-23 19:40:47pitroucreate