◐ Shell
clean mode source ↗

bpo-46430: fix error-handling in _Py_Deepfreeze_Init by kumaraditya303 · Pull Request #31596 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@kumaraditya303

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

gvanrossum

Choose a reason for hiding this comment

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

Thanks! LGTM.

@vstinner

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.

Labels