This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients Rhamphoryncus, ajaksu2, amaury.forgeotdarc, benjamin.peterson, collinwinter, eric.smith, ezio.melotti, ferringb, gvanrossum, jafo, jimjjewett, lemburg, mark.dickinson, orivej, pitrou, rhettinger, terry.reedy
Date 2010-02-01.17:54:58
SpamBayes Score 5.008477e-07
Marked as misclassified No
Message-id <1265046905.95.0.606077927564.issue1943@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2010-02-01 17:55:06amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, gvanrossum, collinwinter, rhettinger, terry.reedy, jafo, jimjjewett, mark.dickinson, Rhamphoryncus, pitrou, eric.smith, ferringb, ajaksu2, benjamin.peterson, orivej, ezio.melotti
2010-02-01 17:55:05amaury.forgeotdarcsetmessageid: <1265046905.95.0.606077927564.issue1943@psf.upfronthosting.co.za>
2010-02-01 17:54:59amaury.forgeotdarclinkissue1943 messages
2010-02-01 17:54:58amaury.forgeotdarccreate