mirror of
https://github.com/python/cpython.git
synced 2026-06-26 21:04:42 -04:00
fa9a121952
(PyUnicode these days) to a char* + length. The fix consists of calling PyUnicode_AsString() and strlen(). This is not ideal, but AsCharBuffer() is definitely not the API to use.