[issue22906] PEP 479: Change StopIteration handling inside generators

Nick Coghlan report at bugs.python.org
Sat May 9 01:13:26 CEST 2015


Nick Coghlan added the comment:

Latest patch LGTM, although I believe the new chaining behaviour checks
would be clearer with the 3 try/except blocks merged into a single block
where all 3 behaviours are checked in the same except clause, and the else
clause complains that StopIteration was suppressed.

(I don't see a need to request a new review for that particular change,
though)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22906>
_______________________________________


More information about the Python-bugs-list mailing list