This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients NeilGirdhar, Rosuav, belopolsky, ethan.furman, gvanrossum, ncoghlan, python-dev, r.david.murray, rhettinger, schlamar, scoder, serhiy.storchaka, vstinner, yselivanov
Date 2015-05-08.00:33:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431045199.34.0.161056371096.issue22906@psf.upfronthosting.co.za>
In-reply-to
Content
> 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).
History
Date User Action Args
2015-05-08 00:33:19yselivanovsetrecipients: + yselivanov, gvanrossum, rhettinger, ncoghlan, belopolsky, scoder, vstinner, r.david.murray, ethan.furman, python-dev, schlamar, Rosuav, serhiy.storchaka, NeilGirdhar
2015-05-08 00:33:19yselivanovsetmessageid: <1431045199.34.0.161056371096.issue22906@psf.upfronthosting.co.za>
2015-05-08 00:33:19yselivanovlinkissue22906 messages
2015-05-08 00:33:19yselivanovcreate