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, ysj.ray
Date 2011-03-25.15:24:21
SpamBayes Score 1.637816e-07
Marked as misclassified No
Message-id <1301066658.3703.4.camel@localhost.localdomain>
In-reply-to <>
> Because there is no *OBVIOUS* code or sign which can illustrate that
> context manager changes from a one-shot to a reusable.

I'm talking about the decorator, not the context manager. Surely there
is a way for the decorator to instantiate a new context manager each
time the decorated function is called? I may miss something, but it
doesn't sound like rocket science.
Date User Action Args
2011-03-25 15:24:21pitrousetrecipients: + pitrou, ncoghlan, michael.foord, ysj.ray
2011-03-25 15:24:21pitroulinkissue11647 messages
2011-03-25 15:24:21pitroucreate