Message158324
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. |
|
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 | |
|