Message131931
> 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 :) |
|
Date |
User |
Action |
Args |
2011-03-23 22:18:04 | pitrou | set | recipients:
+ pitrou, ncoghlan, michael.foord |
2011-03-23 22:18:03 | pitrou | link | issue11647 messages |
2011-03-23 22:18:03 | pitrou | create | |
|