This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, gvanrossum, kumaraditya, miss-islington, sobolevn, vstinner
Date 2022-02-23.17:10:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645636254.6.0.791216065325.issue46430@roundup.psfhosted.org>
In-reply-to
Content
_PyStaticCode_InternStrings() error handling is based on assert(): that's really bad. It can crash Python (exit with abort()) at the first memory allocation failure. Why not returning -1 on error?
History
Date User Action Args
2022-02-23 17:10:54vstinnersetrecipients: + vstinner, gvanrossum, christian.heimes, miss-islington, sobolevn, kumaraditya
2022-02-23 17:10:54vstinnersetmessageid: <1645636254.6.0.791216065325.issue46430@roundup.psfhosted.org>
2022-02-23 17:10:54vstinnerlinkissue46430 messages
2022-02-23 17:10:54vstinnercreate