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 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.
History
Date User Action Args
2011-07-12 17:14:34davide.rizzosetrecipients: + davide.rizzo, amaury.forgeotdarc, orsenthil, pitrou, vstinner, benjamin.peterson, ezio.melotti, Trundle
2011-07-12 17:14:34davide.rizzosetmessageid: <1310490874.21.0.0961365436613.issue12149@psf.upfronthosting.co.za>
2011-07-12 17:14:33davide.rizzolinkissue12149 messages
2011-07-12 17:14:33davide.rizzocreate