Message158512
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. |
|
Date |
User |
Action |
Args |
2012-04-16 22:56:58 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, pitrou, benjamin.peterson, meador.inge |
2012-04-16 22:56:58 | kristjan.jonsson | set | messageid: <1334617018.14.0.145543672362.issue8212@psf.upfronthosting.co.za> |
2012-04-16 22:56:57 | kristjan.jonsson | link | issue8212 messages |
2012-04-16 22:56:57 | kristjan.jonsson | create | |
|