Stefan Krah <ste...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue40077> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com