Author ncoghlan
Recipients Julian, eric.snow, giampaolo.rodola, ncoghlan, nikratio, rhettinger, smarnach
Date 2011-12-13.03:43:33
SpamBayes Score 8.47821e-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.
History
Date User Action Args
2011-12-13 03:43:34ncoghlansetrecipients: + ncoghlan, rhettinger, giampaolo.rodola, nikratio, Julian, eric.snow, smarnach
2011-12-13 03:43:34ncoghlansetmessageid: <1323747814.12.0.555511227565.issue13585@psf.upfronthosting.co.za>
2011-12-13 03:43:33ncoghlanlinkissue13585 messages
2011-12-13 03:43:33ncoghlancreate