PyUnicode_AsEncodedObject() in _curese to ensure that the result is a bytes object.
Attach a file by drag & drop or click to upload