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

Terry J. Reedy report at bugs.python.org
Fri Jan 18 17:15:34 EST 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

No bug here.  You can discuss possible change on python-ideas, but I strongly suggest that you write your next wrapper and move on.

----------
nosy: +terry.reedy
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
versions: +Python 3.7 -Python 3.4, Python 3.5, Python 3.6

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


More information about the Python-bugs-list mailing list