This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jak
Recipients jak
Date 2009-07-14.12:03:53
SpamBayes Score 2.9992549e-05
Marked as misclassified No
Message-id <1247573035.84.0.508855898217.issue6483@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-14 12:03:55jaksetrecipients: + jak
2009-07-14 12:03:55jaksetmessageid: <1247573035.84.0.508855898217.issue6483@psf.upfronthosting.co.za>
2009-07-14 12:03:53jaklinkissue6483 messages
2009-07-14 12:03:53jakcreate