Message90514
The documentation states that m_size should be -1 if no additional
memory is needed. But this causes the objects inside the module to not
be deallocated at all.
The attached module (test) stores an object of a type 'Test', which
prints "Deallocation is happening" in it's tp_dealloc. If m_size in the
TestModule is set to -1, this is never reached. If it is 0, it is reached. |
|
Date |
User |
Action |
Args |
2009-07-14 12:03:55 | jak | set | recipients:
+ jak |
2009-07-14 12:03:55 | jak | set | messageid: <1247573035.84.0.508855898217.issue6483@psf.upfronthosting.co.za> |
2009-07-14 12:03:53 | jak | link | issue6483 messages |
2009-07-14 12:03:53 | jak | create | |
|