[issue15848] PEP 3121, 384 Refactoring applied to xxsubtype module

Alexander Belopolsky report at bugs.python.org
Sun Sep 9 02:05:28 CEST 2012


Alexander Belopolsky added the comment:

It looks like your patch will result in reference leaks if type creation fails.  I think you should add Py_DECREF(m) before error returns.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15848>
_______________________________________


More information about the Python-bugs-list mailing list