Author serhiy.storchaka
Recipients alex, benjamin.peterson, inada.naoki, serhiy.storchaka
Date 2020-09-16.07:37:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I agree about PyUnicode_AsUTF8.

But I think it would be worth to ask PyPy team about PyUnicode_AsUTF8AndSize.

An alternate C API is PyUnicode_GetUTF8Buffer (issue39087). It requires explicit releasing the buffer after use, so it can be used even on implementations with moving garbage collector.
Date User Action Args
2020-09-16 07:37:21serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson, alex, inada.naoki
2020-09-16 07:37:21serhiy.storchakasetmessageid: <>
2020-09-16 07:37:21serhiy.storchakalinkissue41784 messages
2020-09-16 07:37:21serhiy.storchakacreate