Message246887
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! |
|
Date |
User |
Action |
Args |
2015-07-18 06:39:53 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, terry.reedy, vstinner, ezio.melotti, docs@python, wodny |
2015-07-18 06:39:53 | yselivanov | set | messageid: <1437201593.53.0.571391444292.issue24654@psf.upfronthosting.co.za> |
2015-07-18 06:39:53 | yselivanov | link | issue24654 messages |
2015-07-18 06:39:52 | yselivanov | create | |
|