Yury Selivanov added the comment: > Yury's patch mostly looks good to me, except:
Thanks! > * the check in contextlib should be against __cause__ rather than __context__, and there should be a new test for this code handling path Done. I've also added one test for correct handling of StopIteration without PEP 479. > * there should be a new test for the __future__ flag itself (independently of the contextlib tests) Forgot to attach it to the first patch! Nick, please take a look at the new patch (attached). ---------- Added file: http://bugs.python.org/file39317/pep0479.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22906> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com