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 michael.foord, ncoghlan, pitrou, ysj.ray
Date 2011-03-29.15:24:31
SpamBayes Score 0.0039193807
Marked as misclassified No
Message-id <1301412272.31.0.202066931399.issue11647@psf.upfronthosting.co.za>
In-reply-to
Content
Because I don't want to conflate the two APIs. ContextDecorator can be used with *any* context manager, and some of those may already be using their copy semantics for something else.

If anyone ever writes the __with__ PEP, then ContextDecorator._recreate can be updated to use that, but in the meantime an operation specific internal API is my preferred option.
History
Date User Action Args
2011-03-29 15:24:32ncoghlansetrecipients: + ncoghlan, pitrou, michael.foord, ysj.ray
2011-03-29 15:24:32ncoghlansetmessageid: <1301412272.31.0.202066931399.issue11647@psf.upfronthosting.co.za>
2011-03-29 15:24:31ncoghlanlinkissue11647 messages
2011-03-29 15:24:31ncoghlancreate