[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError
STINNER Victor
report at bugs.python.org
Mon May 14 17:09:25 EDT 2018
STINNER Victor <vstinner at redhat.com> added the comment:
It may be related to:
commit d4f8480dfe89447587550a85b61d4e9faf827e98
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: Sat Nov 11 15:19:47 2017 +0200
bpo-31572: Don't silence unexpected errors in the _warnings module. (#3731)
Get rid of _PyObject_HasAttrId() and PyDict_GetItemString().
Silence only expected AttributeError, KeyError and ImportError when
get an attribute, look up in a dict or import a module.
----------
nosy: +vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33509>
_______________________________________
More information about the Python-bugs-list
mailing list