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

(cherry picked from commit 252033d50effa08046ac34fcc406bc99796ab88b)
Lib/test/test_warnings/__init__.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