[issue9738] Document the encoding of functions bytes arguments of the C API

Dave Malcolm report at bugs.python.org
Thu Sep 2 23:13:14 CEST 2010

Dave Malcolm <dmalcolm at redhat.com> added the comment:

> I think either of these is correct:
> - a UTF-8-encoded string
> - a string encoded in UTF-8

Possibly use the word "buffer" here, rather than "string", as "string" may suggest the "str" type.

Or even: "NUL-terminated buffer of UTF-8-encoded bytes", or whatnot.

(sorry for bikeshedding)

nosy: +dmalcolm

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list