mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
bpo-39033: Fix NameError in zipimport during hash validation (GH-17588)
Patch by Karthikeyan Singaravelan.
This commit is contained in:
parent
d587272fe3
commit
79f02fee1a
5 changed files with 286 additions and 269 deletions
|
@ -608,7 +608,7 @@ def _unmarshal_code(self, pathname, fullpath, fullname, data):
|
|||
)
|
||||
|
||||
try:
|
||||
_boostrap_external._validate_hash_pyc(
|
||||
_bootstrap_external._validate_hash_pyc(
|
||||
data, source_hash, fullname, exc_details)
|
||||
except ImportError:
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue