[issue44562] types.GenericAlias should decref instead of using delete in tp_new

Pablo Galindo Salgado report at bugs.python.org
Sun Jul 4 14:53:36 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> AFAIK PyType_GenericAlloc is used indirectly in ga_new(), but not in Py_GenericAlias().

Oh, I see what you mean, that's a good point.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44562>
_______________________________________


More information about the Python-bugs-list mailing list