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.

Author ncoghlan
Recipients giampaolo.rodola, michael.foord, ncoghlan, pitrou, python-dev, ysj.ray
Date 2012-05-19.12:52:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm closing this *without* converting ContextDecorator._recreate_cm() to a public method (although I'm also attaching the patch that would have done exactly that).

My rationale for doing so is that I *still* consider making _GeneratorContextManager a subclass of ContextDecorator a design error on my part. Converting the existing _recreate_cm() hook to a public refesh_cm() method would be actively endorsing that mistake and encouraging others to repeat it.

If anyone else wants to pursue this, create a new issue and be prepared to be very persuasive. After all, the current module maintainer just rejected his own implementation of the feature :)
Date User Action Args
2012-05-19 12:52:04ncoghlansetrecipients: + ncoghlan, pitrou, giampaolo.rodola, michael.foord, ysj.ray, python-dev
2012-05-19 12:52:04ncoghlansetmessageid: <>
2012-05-19 12:52:03ncoghlanlinkissue11647 messages
2012-05-19 12:52:03ncoghlancreate