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 ikelly
Recipients gvanrossum, ikelly, yselivanov
Date 2016-02-20.09:20:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455960010.55.0.106913900946.issue26221@psf.upfronthosting.co.za>
In-reply-to
Content
Chris Angelico suggested on python-list that another possibly useful thing to do would be to add a "from __future__ import generator_stop" to asyncio/futures.py. This would at least have the effect of causing "await future" to raise a RuntimeError instead of silently returning None if a StopIteration is set on the future. Future.__iter__ is the only generator in the file, so this change shouldn't have any other effects.
History
Date User Action Args
2016-02-20 09:20:10ikellysetrecipients: + ikelly, gvanrossum, yselivanov
2016-02-20 09:20:10ikellysetmessageid: <1455960010.55.0.106913900946.issue26221@psf.upfronthosting.co.za>
2016-02-20 09:20:10ikellylinkissue26221 messages
2016-02-20 09:20:10ikellycreate