[issue35756] Using `return value` in a generator function skips the returned value on for-loop iteration

bryan.koch report at bugs.python.org
Mon Jan 21 18:31:31 EST 2019


bryan.koch <bbkoch94 at gmail.com> added the comment:

Thanks for testing that.  I'm off to write an ugly `next()` wrapper then.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35756>
_______________________________________


More information about the Python-bugs-list mailing list