[Python-Dev] A reference leak with PyType_FromSpec (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Fri Jun 22 21:56:04 CEST 2012


On Fri, 22 Jun 2012 21:23:10 +0200 Antoine Pitrou <solipsis at pitrou.net> wrote:

Hi, As mentioned in the commit message for 96513d71e650, creating a type using PyTypeFromSpec seems to leak references when the type is instantiated. This happens with SSLError:

The patch in http://bugs.python.org/issue15142 seems to fix it. Feedback welcome from typeobject experts :)

Regards

Antoine.



More information about the Python-Dev mailing list