bpo-46430: fix error-handling in _Py_Deepfreeze_Init by kumaraditya303 · Pull Request #31596 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
kumaraditya303
changed the title
bpo-46712: fix error-handling in _Py_Deepfreeze_Init
bpo-46430: fix error-handling in _Py_Deepfreeze_Init
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters