Message140203
| Author |
davide.rizzo |
| Recipients |
Trundle, amaury.forgeotdarc, benjamin.peterson, davide.rizzo, ezio.melotti, orsenthil, pitrou, vstinner |
| Date |
2011年07月12日.17:14:33 |
| SpamBayes Score |
4.043721e-11 |
| Marked as misclassified |
No |
| Message-id |
<1310490874.21.0.0961365436613.issue12149@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The attached test segfaults (and passes with the patch). It wasn't clear to me where to put the test (it is a typeobject issue triggered by io) but Antoine on IRC agreed it would make sense to add it to test_io anyway.
Python 2.7 is affected too by the bug, but it doesn't trigger with _PyIOBase_finalize because it first checks for "closed" but the lookup fails (not sure why) so it doesn't try to call "close". On Python 3.3 the lookup for "closed" returned a valid descriptor from the method cache even after the type is cleared. |
|