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 kristjan.jonsson
Recipients benjamin.peterson, kristjan.jonsson, meador.inge, pitrou
Date 2012-04-16.22:56:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334617018.14.0.145543672362.issue8212@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch with the suggested change.
I put _PyObject_ResurrectFromDealloc into typeobject.c since it seems more at home there than in object.c, but I'm not sure.
Also note that other types, that were calling _PyIOBase_finalize() from their tp_dealloc slots (bufferedio, fileio) will now also get the correct behavior with the incref'd ob_type slot, if the object is resurrected.
History
Date User Action Args
2012-04-16 22:56:58kristjan.jonssonsetrecipients: + kristjan.jonsson, pitrou, benjamin.peterson, meador.inge
2012-04-16 22:56:58kristjan.jonssonsetmessageid: <1334617018.14.0.145543672362.issue8212@psf.upfronthosting.co.za>
2012-04-16 22:56:57kristjan.jonssonlinkissue8212 messages
2012-04-16 22:56:57kristjan.jonssoncreate