Message140203
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. |
|
Date |
User |
Action |
Args |
2011-07-12 17:14:34 | davide.rizzo | set | recipients:
+ davide.rizzo, amaury.forgeotdarc, orsenthil, pitrou, vstinner, benjamin.peterson, ezio.melotti, Trundle |
2011-07-12 17:14:34 | davide.rizzo | set | messageid: <1310490874.21.0.0961365436613.issue12149@psf.upfronthosting.co.za> |
2011-07-12 17:14:33 | davide.rizzo | link | issue12149 messages |
2011-07-12 17:14:33 | davide.rizzo | create | |
|