Message161113
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:04 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, giampaolo.rodola, michael.foord, ysj.ray, python-dev |
2012-05-19 12:52:04 | ncoghlan | set | messageid: <1337431924.29.0.225917470296.issue11647@psf.upfronthosting.co.za> |
2012-05-19 12:52:03 | ncoghlan | link | issue11647 messages |
2012-05-19 12:52:03 | ncoghlan | create | |
|