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 Alexander.Jones, DLitz, daniel.urban, eric.araujo, georg.brandl, giampaolo.rodola, hniksic, michael.foord, ncoghlan, pitrou, r.david.murray, rhettinger, vstinner
Date 2012-11-16.00:34:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353026066.33.0.791753205293.issue10049@psf.upfronthosting.co.za>
In-reply-to
Content
No, an empty ExitStack() instance already works fine as a no-op context manager in 3.3: http://docs.python.org/3/library/contextlib#simplifying-support-for-single-optional-context-managers

We're not going to add a dedicated one under a different name.
History
Date User Action Args
2012-11-16 00:34:26ncoghlansetrecipients: + ncoghlan, georg.brandl, rhettinger, pitrou, vstinner, giampaolo.rodola, hniksic, eric.araujo, r.david.murray, michael.foord, daniel.urban, Alexander.Jones, DLitz
2012-11-16 00:34:26ncoghlansetmessageid: <1353026066.33.0.791753205293.issue10049@psf.upfronthosting.co.za>
2012-11-16 00:34:26ncoghlanlinkissue10049 messages
2012-11-16 00:34:26ncoghlancreate