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 <1600241841.9.0.966567337491.issue41784@roundup.psfhosted.org>
In-reply-to
Content
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.
History
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: <1600241841.9.0.966567337491.issue41784@roundup.psfhosted.org>
2020-09-16 07:37:21serhiy.storchakalinkissue41784 messages
2020-09-16 07:37:21serhiy.storchakacreate