Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

> Note that Python is free to change the meaning of Py_UNICODE
> (e.g. to use UCS4 on all platforms)

Python-UCS4 has never worked on Windows. Most developers on Windows, taking 
example on core python source code, implicitly assumed that HAVE_USABLE_WCHAR_T 
is true, and use the Py_Unicode* api the same way they use the PyString* 
functions.

PyString_AsString is documented to return a nul-terminated array. If 
PyUnicode_AsUnicode starts to behave differently, people will have more trouble 
to port their modules to py3k.
This is not an implementation detail.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1943>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to