]> granicus.if.org Git - python/commit
[3.6] bpo-31566: Fix an assertion failure in _warnings.warn() in case of a bad __name...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 24 Sep 2017 20:14:41 +0000 (13:14 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 24 Sep 2017 20:14:41 +0000 (23:14 +0300)
commit415cc1fa57710614ed3384d0cafc58ccf7adee8c
treeb460136b8b15d4deec84f82cc232caa1d5694d31
parentce418bf8228c9a6a19702638e5f5c2fb66ad0588
[3.6] bpo-31566: Fix an assertion failure in _warnings.warn() in case of a bad __name__ global. (GH-3717) (#3730)

(cherry picked from commit 5d3e80021ab33360191eb0fbff34e0246c913884)
Lib/test/test_warnings/__init__.py
Misc/NEWS.d/next/Core and Builtins/2017-09-24-09-57-04.bpo-31566.OxwINs.rst [new file with mode: 0644]
Python/_warnings.c