Message132484
| 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: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 |
|