[issue44588] Possible double Py_XDECREF in cpython typeobject.c

Ziyue Jiang report at bugs.python.org
Fri Jul 9 04:38:16 EDT 2021


Ziyue Jiang <ziyue.jiang97 at gmail.com> added the comment:

I just take over a Python3.6 project from a friend, migrating it to the newest Python version. Then this problem happened. After debugging, I think it's a possible double Py_XDECREF if using C-API like this.
But I'm not familiar with Python C-API before so I'm not sure whether it's a problem or just a misuse about tp_flags.

----------

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


More information about the Python-bugs-list mailing list