[issue44588] Possible double Py_XDECREF in cpython typeobject.c
Ziyue Jiang
report at bugs.python.org
Fri Jul 9 04:26:38 EDT 2021
Ziyue Jiang <ziyue.jiang97 at gmail.com> added the comment:
I have no detailed code. The way to I produce it is that using PyType_FromSpec() to generate a type A without the flag Py_TPFLAGS_DEFAULT(which sets the flag Py_TPFLAGS_HAVE_VERSION_TAG).
Then compile and run in Python.
from my_pkg import A
class Time1(Time):
def __init__(self):
pass
import multiprocessing (This import is a method to 100% reproduce it. Another way is to use python3-dbg running the code.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44588>
_______________________________________
More information about the Python-bugs-list
mailing list