[issue46417] Clear static types in Py_Finalize() for embedded Python

Petr Viktorin report at bugs.python.org
Thu Jan 20 08:18:56 EST 2022


Petr Viktorin <encukou at gmail.com> added the comment:

> Sharing objects between interpreters is bad

That's your opinion, I don't necessarily share it.

> and is causing complex bugs.

But converting static things (types, small ints) to heap is also causing bugs :(

----

Anyway, for this issue: is there a way to test if the types are correctly reinitialized if there are multiple finalize/init cycles?
I worry about introducing more unexpected issues here.

----------

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


More information about the Python-bugs-list mailing list