You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
warnings.warn_explicit with module_globals=True raises a SystemError #77690
commit d4f8480
Author: Serhiy Storchaka <[email protected]>
Date: Sat Nov 11 15:19:47 2017 +0200
bpo-31572: Don't silence unexpected errors in the _warnings module. (bpo-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.
Activity
hawkowl commentedon May 14, 2018
Reproducible with:
vstinner commentedon May 14, 2018
It may be related to:
commit d4f8480
Author: Serhiy Storchaka <[email protected]>
Date: Sat Nov 11 15:19:47 2017 +0200
vstinner commentedon May 14, 2018
I choose the release blocker priority, since IMHO it's an easy fix.
serhiy-storchaka commentedon May 14, 2018
This bug was before commit d4f8480.
vstinner commentedon May 15, 2018
New changeset b056562 by Victor Stinner in branch 'master':
bpo-33509: Fix _warnings for module_globals=None (bpo-6833)
b056562
miss-islington commentedon May 15, 2018
New changeset 820219f by Miss Islington (bot) in branch '3.7':
bpo-33509: Fix _warnings for module_globals=None (GH-6833)
820219f
ned-deily commentedon May 16, 2018
Thanks for the report and thanks for the fix!
serhiy-storchaka commentedon Jun 3, 2018
This test is failed with -We.
$ ./python -We -m test -v test_warnings ...======================================================================
ERROR: test_module_globals (test.test_warnings.CFilterTests)
----------------------------------------------------------------------
======================================================================
ERROR: test_module_globals (test.test_warnings.PyFilterTests)
----------------------------------------------------------------------
ned-deily commentedon Jun 4, 2018
New changeset e292b75 by Ned Deily (Victor Stinner) in branch 'master':
bpo-33509: Fix test_warnings for python3 -Werror (GH-7365)
e292b75
miss-islington commentedon Jun 4, 2018
New changeset d2c6ecc by Miss Islington (bot) in branch '3.7':
bpo-33509: Fix test_warnings for python3 -Werror (GH-7365)
d2c6ecc
vstinner commentedon Jun 4, 2018
Thank you Serhiy for the bug report. It should now be fixed again.