Message132484
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. |
|
Date |
User |
Action |
Args |
2011-03-29 15:24:32 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, michael.foord, ysj.ray |
2011-03-29 15:24:32 | ncoghlan | set | messageid: <1301412272.31.0.202066931399.issue11647@psf.upfronthosting.co.za> |
2011-03-29 15:24:31 | ncoghlan | link | issue11647 messages |
2011-03-29 15:24:31 | ncoghlan | create | |
|