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 ncoghlan
Recipients Valentin David, abarry, gregory.p.smith, ncoghlan, python-dev, serhiy.storchaka, vstinner, yselivanov
Date 2016-06-15.18:09:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466014181.06.0.832054813714.issue27122@psf.upfronthosting.co.za>
In-reply-to
Content
There's an existing scenario test at https://hg.python.org/cpython/file/default/Lib/test/test_contextlib.py#l600 and https://hg.python.org/cpython/file/default/Lib/test/test_contextlib.py#l648 that aims to ensure ExitStack unwinding and context setting matches the behaviour of actual with statements.

It wouldn't hurt to add some explicit checks to the new test for this particular bug, though.
History
Date User Action Args
2016-06-15 18:09:41ncoghlansetrecipients: + ncoghlan, gregory.p.smith, vstinner, python-dev, serhiy.storchaka, yselivanov, abarry, Valentin David
2016-06-15 18:09:41ncoghlansetmessageid: <1466014181.06.0.832054813714.issue27122@psf.upfronthosting.co.za>
2016-06-15 18:09:41ncoghlanlinkissue27122 messages
2016-06-15 18:09:40ncoghlancreate