[issue22906] PEP 479: Change StopIteration handling inside generators

Nick Coghlan report at bugs.python.org
Fri May 8 01:13:04 CEST 2015


Nick Coghlan added the comment:

Yury's patch mostly looks good to me, except:

* the check in contextlib should be against __cause__ rather than
__context__, and there should be a new test for this code handling path
* there should be a new test for the __future__ flag itself (independently
of the contextlib tests)

----------

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


More information about the Python-bugs-list mailing list