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 ehuss
Recipients
Date 2004-06-26.23:47:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
There is a problem if you try to dealloc a partially 
initialized heap allocated type object.  Because 
PyObject_GC_TRACK is not typically called until 
initialization is done, the gc_refs value is set to 
GC_UNTRACKED.

In type_dealloc, it calls _PyObject_GC_UNTRACK which 
skips the check to see if it is GC_UNTRACKED.

This patch fixes it so that it calls PyObject_GC_UnTrack 
to correctly handle this case.
History
Date User Action Args
2007-08-23 15:38:21adminlinkissue980475 messages
2007-08-23 15:38:21admincreate