Message149377
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. |
|
Date |
User |
Action |
Args |
2011-12-13 03:43:34 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, giampaolo.rodola, nikratio, Julian, eric.snow, smarnach |
2011-12-13 03:43:34 | ncoghlan | set | messageid: <1323747814.12.0.555511227565.issue13585@psf.upfronthosting.co.za> |
2011-12-13 03:43:33 | ncoghlan | link | issue13585 messages |
2011-12-13 03:43:33 | ncoghlan | create | |
|