Message268463
| Author |
ncoghlan |
| Recipients |
Valentin David, abarry, gregory.p.smith, ncoghlan, vstinner, yselivanov |
| Date |
2016年06月13日.19:24:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1465845859.76.0.761473748012.issue27122@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Greg, I think you should apply your change to eliminate the regression and get us back to the state of all stdlib context managers being well-behaved in this regard (we unfortunately missed the 3.5.2 release, but that will ensure it's fixed for 3.5.3).
Given the challenges I had trying to reproduce the hang with a plain context manager rather than a generator, I now the problem is specifically just #25782 - in the absence of that, ExitStack() should misbehave in the same way actual nested with statements would, rather than trying to implicitly "fix" the misbehaving context managers. |
|