[issue26221] awaiting asyncio.Future swallows StopIteration
Guido van Rossum
report at bugs.python.org
Sat Feb 20 15:51:47 EST 2016
Guido van Rossum added the comment:
Chris, can you help out here? I still don't understand the issue here. Since "from __future__ import generator_stop" only works in 3.5+ it would not work in Python 3.3/3.4 (supported by upstream asyncio with literally the same source code currently). If there's no use case for f.set_exception(StopIteration) maybe we should just complain about that?
----------
nosy: +Rosuav
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26221>
_______________________________________
More information about the Python-bugs-list
mailing list