This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ncoghlan
收信人 Julian, eric.snow, giampaolo.rodola, ncoghlan, nikratio, rhettinger, smarnach
日期 2011-12-13.03:43:33
SpamBayes Score 8.478212e-06
Marked as misclassified
Message-id <1323747814.12.0.555511227565.issue13585@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2011-12-13 03:43:34ncoghlan修改recipients: + ncoghlan, rhettinger, giampaolo.rodola, nikratio, Julian, eric.snow, smarnach
2011-12-13 03:43:34ncoghlan修改messageid: <1323747814.12.0.555511227565.issue13585@psf.upfronthosting.co.za>
2011-12-13 03:43:33ncoghlan链接issue13585 messages
2011-12-13 03:43:33ncoghlan创建