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 ezio.melotti, serhiy.storchaka, syl-nktaylor, vstinner
Date 2020-12-07.21:53:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
+        Py_UCS4 fill_char = PyUnicode_READ(char_size, PyUnicode_DATA(str), 0);
+        memset(to, fill_char, len);

The second parameter of memset() is a byte (8-bit "octet"). You cannot pass Py_UCS4 to memset(), it doesn't work.
Date User Action Args
2020-12-07 21:53:35vstinnersetrecipients: + vstinner, ezio.melotti, serhiy.storchaka, syl-nktaylor
2020-12-07 21:53:35vstinnersetmessageid: <>
2020-12-07 21:53:35vstinnerlinkissue42593 messages
2020-12-07 21:53:34vstinnercreate