[issue39796] warning extension module inited twice in python3.9
STINNER Victor
report at bugs.python.org
Mon Mar 2 09:04:16 EST 2020
STINNER Victor <vstinner at python.org> added the comment:
> if we don't load _warnings module as soon as possible, what possible risks will be raise?
There are different risks:
* Worst case: using the _warnings module state before it's initialized may lead to crash.
* Best case: some warnings are not emitted.
Anyway, the initial issue should now be fixed by my commit.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39796>
_______________________________________
More information about the Python-bugs-list
mailing list