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 <1382557247.52.0.946966114078.issue19369@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-10-23 19:40:47pitrousetrecipients: + pitrou, rhettinger, benjamin.peterson
2013-10-23 19:40:47pitrousetmessageid: <1382557247.52.0.946966114078.issue19369@psf.upfronthosting.co.za>
2013-10-23 19:40:47pitroulinkissue19369 messages
2013-10-23 19:40:47pitroucreate