]> granicus.if.org Git - python/commit
[2.7] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 11 Sep 2017 07:01:31 +0000 (10:01 +0300)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2017 07:01:31 +0000 (10:01 +0300)
commit004547f97067be2e23ae770f300c0c0d1db1ba27
treef61e4c139de7fe44d7458193edb08c93ac2c99f6
parent6ed7aff8948e50708f048f3f7fd41809259d1777
[2.7] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not a dictionary. (GH-3485). (#3493)

(cherry picked from commit 252033d50effa08046ac34fcc406bc99796ab88b)
Lib/test/test_warnings.py
Misc/NEWS.d/next/Core and Builtins/2017-09-11-08-50-41.bpo-31411.HZz82I.rst [new file with mode: 0644]
Python/_warnings.c