The Python programming language
PyUnicode_AsEncodedObject() in _curese to ensure that the result is a bytes object.