]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH...
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>
Tue, 14 Jan 2020 11:39:19 +0000 (17:09 +0530)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 Jan 2020 11:39:19 +0000 (03:39 -0800)
commit9955f33cdbf27de270038dfbad37d15b160ecca2
tree8ff7bf457eecc3c74dfe263cb1b0c48894e2e0e9
parent9362f8526e42157baf27df982b16f23f212c3c3a
[3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642)

Fix `NameError` in `zipimport` during hash validation and add a regression test.

(cherry picked from commit 79f02fee1a542c440fd906fd54154c73fc0f8235)

https://bugs.python.org/issue39033
Lib/test/test_zipimport.py
Lib/zipimport.py
Misc/NEWS.d/next/Library/2019-12-13-18-54-49.bpo-39033.cepuyD.rst [new file with mode: 0644]
Python/importlib_zipimport.h