"Fix" a few places that were using PyObject_AsCharBuffer() to convert a string
(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.
G
Guido van Rossum committed
fa9a121952db01168e8d131549680d8bb8e9ddb7
Parent: 625cbf2