Message260563
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. |
|
Date |
User |
Action |
Args |
2016-02-20 09:20:10 | ikelly | set | recipients:
+ ikelly, gvanrossum, yselivanov |
2016-02-20 09:20:10 | ikelly | set | messageid: <1455960010.55.0.106913900946.issue26221@psf.upfronthosting.co.za> |
2016-02-20 09:20:10 | ikelly | link | issue26221 messages |
2016-02-20 09:20:10 | ikelly | create | |
|