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 Rosuav
Recipients Rosuav, gvanrossum, ikelly, yselivanov
Date 2016-02-20.21:34:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456004099.85.0.727154816919.issue26221@psf.upfronthosting.co.za>
In-reply-to
Content
Ultimately, it's the exact same thing that PEP 479 is meant to deal with - raising StopIteration is functionally identical to returning. I don't use asyncio enough to be certain, but I'm not aware of any good reason to inject a StopIteration into it; maybe an alternative solution is to add a check in set_exception "if isinstance(exception, StopIteration): raise DontBeAFool"?
History
Date User Action Args
2016-02-20 21:34:59Rosuavsetrecipients: + Rosuav, gvanrossum, ikelly, yselivanov
2016-02-20 21:34:59Rosuavsetmessageid: <1456004099.85.0.727154816919.issue26221@psf.upfronthosting.co.za>
2016-02-20 21:34:59Rosuavlinkissue26221 messages
2016-02-20 21:34:59Rosuavcreate