[issue40077] Convert static types to PyType_FromSpec()
Stefan Krah
report at bugs.python.org
Fri Mar 27 10:48:11 EDT 2020
Stefan Krah <stefan at bytereef.org> added the comment:
> Or maybe _decimal_state_global was used in "hot code".
Yes, _decimal has problems here that most modules don't have.
Modules like atexit are obviously fine. :)
I just posted it as an example why one should be a bit cautious.
> The PEP 573 is going to give access to the module state in functions which didn't access to it previously.
That could help, we'll see.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40077>
_______________________________________
More information about the Python-bugs-list
mailing list