[Python-Dev] Possible memory leak in typeobject.c?

Raymond Hettinger python at rcn.com
Fri Jun 25 06:21:20 EDT 2004

[Eric Huss]
> While tearing my hair out trying to figure out why my dynamically
> allocated type objects weren't getting garbage collected, I noticed
> the tp_new_wrapper object had 1 too many ref counts.
> Does the following patch make sense?  

Yes, it does.
Applied and backported.
Thanks for the patch.
Next time, please use SourceForge.

Raymond Hettinger

More information about the Python-Dev mailing list