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 pablogsal
Recipients pablogsal, pitrou, shihai1991, vstinner
Date 2019-08-20.00:11:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hi hai shi,

As you can see in other pars of the code base objects returned from PyUnicode_InternFromString that have static storage class do not need to be deallocated in case there is a failure, so this is not considered a leak as there will be only one owned object across all calls. The Python object is reused every time the function is call (so in successive calls the object can be reused and therefore assertion_error!= NULL).
Date User Action Args
2019-08-20 00:11:49pablogsalsetrecipients: + pablogsal, pitrou, vstinner, shihai1991
2019-08-20 00:11:48pablogsalsetmessageid: <>
2019-08-20 00:11:48pablogsallinkissue37887 messages
2019-08-20 00:11:48pablogsalcreate