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

bpo-39033: Fix NameError in zipimport during hash validation #17588

Merged
merged 2 commits into from
Dec 15, 2019

Conversation

tirkarthi
Copy link
Member

@tirkarthi tirkarthi commented Dec 13, 2019

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

https://bugs.python.org/issue39033

Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch from the issuer :)

Looks good to me!

Copy link
Contributor

@ncoghlan ncoghlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! At some point we should probably just search the entire code base for references to "boostrap"...

@tirkarthi
Copy link
Member Author

Thanks Nick. I think this can be backported to 3.8 too. This changes the importlib header file and I guess it's allowed to change between bug fix versions.

@brettcannon
Copy link
Member

@tirkarthi yes, the header files can change in bugfix releases. But it does mean backporting will have to be done in manual PRs to get the right bytecode.

@tirkarthi
Copy link
Member Author

Ah yes, thanks Brett I will make a manual backport with the generated header file.

tirkarthi added a commit to tirkarthi/cpython that referenced this pull request Dec 23, 2019
…H-17588)

Patch by Karthikeyan Singaravelan.

(cherry picked from commit 79f02fe)
miss-islington pushed a commit that referenced this pull request Jan 14, 2020
…H-17588) (GH-17642)

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

(cherry picked from commit 79f02fe)



https://bugs.python.org/issue39033
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants