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 vstinner
Recipients benjamin.peterson, pyscripter, vstinner, zach.ware
Date 2019-10-07.16:20:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570465243.4.0.225402087012.issue38398@roundup.psfhosted.org>
In-reply-to
Content
> hasattr(ctypes.pythonapi, "PyUnicode_FromWideChar")

Python 2 has a surprising ABI. The function names depending on the Unicode implementation:

PyUnicodeUCS2_FromWideChar on Windows, PyUnicodeUCS4_FromWideChar on other platforms.

Enjoy the ugly https://github.com/python/cpython/blob/2.7/Include/unicodeobject.h

And say hello to the new compact Unicode strings, PEP 393, implemented in Python 3.3, which unified that!
https://www.python.org/dev/peps/pep-0393/
History
Date User Action Args
2019-10-07 16:20:43vstinnersetrecipients: + vstinner, pyscripter, benjamin.peterson, zach.ware
2019-10-07 16:20:43vstinnersetmessageid: <1570465243.4.0.225402087012.issue38398@roundup.psfhosted.org>
2019-10-07 16:20:43vstinnerlinkissue38398 messages
2019-10-07 16:20:43vstinnercreate