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 pitrou
Recipients michael.foord, ncoghlan, pitrou
Date 2011-03-23.22:18:03
SpamBayes Score 1.1358107e-07
Marked as misclassified No
Message-id <1300918677.3495.32.camel@localhost.localdomain>
In-reply-to <AANLkTikfoW2T7icb-nVrVLi4SjGiSX_YxcNNAFvJwghK@mail.gmail.com>
Content
> We can either hack this to work by providing ContextDecorator with a
> way to get the underlying context manager to create a new copy of
> itself each time, or else revert to the 3.1 status quo and declare
> that context managers created via contextlib.contextmanager simply
> can't be used as decorators. I'm inclined to favour the latter option.

I would vote for the former option :)
History
Date User Action Args
2011-03-23 22:18:04pitrousetrecipients: + pitrou, ncoghlan, michael.foord
2011-03-23 22:18:03pitroulinkissue11647 messages
2011-03-23 22:18:03pitroucreate