[Python-3000] C API cleanup str

"Martin v. Löwis" martin at v.loewis.de
Sun Aug 5 14:37:15 CEST 2007


> Aside from the name, are there other issues you can think of with any
> of the API changes?  There are some small changes, things like macros
> only having a function form.  Are these a problem?
> 
> Str/unicode is going to be a big change.  Any thoughts there?

We need some rules on what the character set is on the C level.
E.g. if you do PyString_FromStringAndSize, is that ASCII, Latin-1,
UTF-8? Likewise, what is the encoding in PyArg_ParseTuple for s
and s# parameters?

Regards,
Martin


More information about the Python-3000 mailing list