Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize()
Attach a file by drag & drop or click to upload