[Python-Dev] A reference leak with PyType_FromSpec

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


On 2012年6月22日 21:23:10 +0200
Antoine Pitrou <solipsis at pitrou.net> wrote:
>> Hi,
>> As mentioned in the commit message for 96513d71e650, creating a type
> using PyType_FromSpec 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

AltStyle によって変換されたページ (->オリジナル) /