Message158324
| Author |
kristjan.jonsson |
| Recipients |
benjamin.peterson, kristjan.jonsson, pitrou |
| Date |
2012年04月15日.12:31:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334493069.87.0.200450487444.issue8212@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a patch that rectifies this situation, albeit in a somewhat 'hacky' manner.
It works by injecting a monitoring 'tp_free' call into the type during the basedealloc call, which sets a flag if it was called with the object, i.e. if actual deletion took place.
This value is then returned, and a decision to decref the object's "type" is made on this result. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月15日 12:31:09 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, pitrou, benjamin.peterson |
| 2012年04月15日 12:31:09 | kristjan.jonsson | set | messageid: <1334493069.87.0.200450487444.issue8212@psf.upfronthosting.co.za> |
| 2012年04月15日 12:31:09 | kristjan.jonsson | link | issue8212 messages |
| 2012年04月15日 12:31:09 | kristjan.jonsson | create |
|