]> granicus.if.org Git - python/commit
[3.6] bpo-31416: Fix assertion failures in case of a bad warnings.filters or warnings...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 12 Sep 2017 06:48:27 +0000 (09:48 +0300)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2017 06:48:27 +0000 (09:48 +0300)
commit9adc87b0f82e5169c5f44739f89212a86013d1c4
tree62093b01728ee2ffad9ae8585abe8b03635ec917
parentcb356c2ecc0528d47fee2b9f4b32da4fcfb48b3a
[3.6] bpo-31416: Fix assertion failures in case of a bad warnings.filters or warnings.defaultaction. (GH-3496) (#3509)

Patch by Oren Milman..
(cherry picked from commit 9d984fd2b097c8c29479d1c3eb740995fe1ccb0d)
Lib/test/test_warnings/__init__.py
Misc/NEWS.d/next/Core and Builtins/2017-09-11-12-54-35.bpo-31416.2hlQFd.rst [new file with mode: 0644]
Python/_warnings.c