3 Nov
2011
3 Nov
'11
9:43 p.m.
Am 03.11.2011 22:19, schrieb Terry Reedy:
On 11/3/2011 3:16 PM, Victor Stinner wrote:
Le jeudi 3 novembre 2011 18:14:42, martin@v.loewis.de a écrit :
There is a backwards compatibility issue with PEP 393 and Unicode exceptions: the start and end indices: are they Py_UNICODE indices, or code point indices?
I had the impression that we were abolishing the wide versus narrow build difference and that this issue would disappear. I must have missed something.
Most certainly. The Py_UNICODE type continues to exist for backwards compatibility. It is now always a typedef for wchar_t, which makes it a 16-bit type on Windows. Regards, Martin