Ziyue Jiang <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue44588>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com