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.00:37:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
In PyType_Ready() if the type object you are readying 
does not explicitly define its tp_base value, it will 
default to use PyBaseObject_Type.

However, this assignment does not INCREF the 
PyBaseObject_Type pointer.  Thus, for heap allocated 
type objects, when the type_dealloc() function is 
called, a DECREF is called on tp_base which can 
eventually cause PyBaseObject_Type refcount go to 0, 
at which point bad things happen.
History
Date User Action Args
2007-08-23 15:38:19adminlinkissue980082 messages
2007-08-23 15:38:19admincreate