[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

Jeroen Demeyer report at bugs.python.org
Mon Nov 5 03:28:53 EST 2018


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> Is it necessary to use METH_FASTCALL?

In Python 3, the bug only occurs with METH_FASTCALL. The issue is a reference counting bug and the temporary tuple used for a METH_VARARGS method avoids the bug.

----------

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


More information about the Python-bugs-list mailing list