Message158512
| 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: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 |
|