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 yselivanov
Recipients docs@python, ezio.melotti, gvanrossum, terry.reedy, vstinner, wodny, yselivanov
Date 2015-07-18.06:39:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437201593.53.0.571391444292.issue24654@psf.upfronthosting.co.za>
In-reply-to
Content
Fixed in https://hg.python.org/peps/rev/7ad183c1d9be

I'll quote the commit message here:

    pep-492: Update benchmark code

    Since coroutines now have a distinct type, they do not support
    iteration. Instead of doing 'list(o)', we now do 'o.send(None)'
    until StopIteration.

    Note, that the updated timings are due to the difference of
    doing a loop in Python vs doing it in C ('list()' vs 'while True').

Marcin and Terry, thanks for reporting this!
History
Date User Action Args
2015-07-18 06:39:53yselivanovsetrecipients: + yselivanov, gvanrossum, terry.reedy, vstinner, ezio.melotti, docs@python, wodny
2015-07-18 06:39:53yselivanovsetmessageid: <1437201593.53.0.571391444292.issue24654@psf.upfronthosting.co.za>
2015-07-18 06:39:53yselivanovlinkissue24654 messages
2015-07-18 06:39:52yselivanovcreate