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 serhiy.storchaka
Recipients serhiy.storchaka, william.ayd
Date 2019-12-21.05:40:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576906856.66.0.884580260173.issue39113@roundup.psfhosted.org>
In-reply-to
Content
Your function returns a borrowed reference. It xiuld cause  ceash even without calling PyUnicode_AsUTF8AndSize. Add Py_INCREF(str)
History
Date User Action Args
2019-12-21 05:40:56serhiy.storchakasetrecipients: + serhiy.storchaka, william.ayd
2019-12-21 05:40:56serhiy.storchakasetmessageid: <1576906856.66.0.884580260173.issue39113@roundup.psfhosted.org>
2019-12-21 05:40:56serhiy.storchakalinkissue39113 messages
2019-12-21 05:40:56serhiy.storchakacreate