Special case the "s#" PyArg_Parse() token for Unicode objects: "s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data.
Special case the "s#" PyArg_Parse() token for Unicode objects:
"s#" will now return a pointer to the default encoded string data
of the Unicode object instead of a pointer to the raw UTF-16
data.

The latter is still available via PyObject_AsReadBuffer().

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator