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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15848>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to