Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-46430: fix error-handling in _Py_Deepfreeze_Init #31596

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

Merged
merged 1 commit into from
Feb 26, 2022

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Feb 26, 2022

Fixes error-handling in interning of strings in deep-frozen modules.

@kumaraditya303 kumaraditya303 changed the title bpo-46712: fix error-handling in _Py_Deepfreeze_Init bpo-46430: fix error-handling in _Py_Deepfreeze_Init Feb 26, 2022
@kumaraditya303
Copy link
Contributor Author

cc @vstinner @gvanrossum

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

@vstinner
Copy link
Member

Thank you @kumaraditya303! I will help to make Python startup more reliable. It will prevent a crash if Python is started in an environment with very low memory available, or in a sandbox setting an arbitrary memory limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants