Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) #17642

Merged
merged 2 commits into from Jan 14, 2020

Conversation

@tirkarthi
Copy link
Contributor

tirkarthi commented Dec 17, 2019

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

(cherry picked from commit 79f02fe)

https://bugs.python.org/issue39033

Automerge-Triggered-By: @encukou

@tirkarthi

This comment has been minimized.

Copy link
Contributor Author

tirkarthi commented Dec 17, 2019

Attaching steps I followed to create the backport. Verified that reverting to older importlib file causes NameError in test as expected.

$ git checkout -b backport-79f02fe-3.8 upstream/3.8
$ git cherry-pick -x 79f02fee1a542c440fd906fd54154c73fc0f8235
$ git checkout HEAD Python/importlib_zipimport.h # Revert to HEAD and regenerate file to avoid conflicts.
$ make regen-importlib
$ git add -u .
$ git cherry-pick --continue
Misc/ACKS Outdated
@@ -1886,3 +1886,4 @@ Aleksandr Balezin
Robert Leenders
Ngalim Siregar
Tim Gates
Karthikeyan Singaravelan

This comment has been minimized.

Copy link
@serhiy-storchaka

serhiy-storchaka Dec 21, 2019

Member

You are already in the list.

This comment has been minimized.

Copy link
@tirkarthi

tirkarthi Dec 21, 2019

Author Contributor

It was a result of the cherry pick. I will remove it here for conflicts with other PR sorting results. Thanks.

tirkarthi added 2 commits Dec 15, 2019
Patch by Karthikeyan Singaravelan.

(cherry picked from commit 79f02fe)
@tirkarthi tirkarthi force-pushed the tirkarthi:backport-79f02fe-3.8 branch from 05a9fa9 to a0e640b Dec 23, 2019
@miss-islington miss-islington merged commit 9955f33 into python:3.8 Jan 14, 2020
5 checks passed
5 checks passed
Azure Pipelines PR #20191223.12 succeeded
Details
bedevere/issue-number Issue number 39033 found
Details
bedevere/maintenance-branch-pr Valid maintenance branch PR title.
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.