Message149377
| Author |
ncoghlan |
| Recipients |
Julian, eric.snow, giampaolo.rodola, ncoghlan, nikratio, rhettinger, smarnach |
| Date |
2011年12月13日.03:43:33 |
| SpamBayes Score |
8.478212e-06 |
| Marked as misclassified |
No |
| Message-id |
<1323747814.12.0.555511227565.issue13585@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Given the history of API design errors in contextlib (cf. contextlib.nested in general, making contextlib._GeneratorContextManager a subclass of contextlib.ContextDecorator), I've realised Raymond is right in wanting to see this idea more thoroughly vetted before it gets added to the standard library.
Accordingly, I plan to create a 'unittest2' style backport library for contextlib (imaginatively named 'contextlib2') and prototype the concept further there. |
|