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 pyscripter
Recipients pyscripter
Date 2019-10-07.16:09:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570464598.55.0.274340335252.issue38398@roundup.psfhosted.org>
In-reply-to
Content
As per title PyUnicode functions, such as PyUnicode_FromWideChar, are not exported on Ubuntu and possibly other Linux systems.  This is a show stopper for embedded Python.

To confirm:

>>> import ctypes
>>> hasattr(ctypes.pythonapi, "PyUnicode_FromWideChar")

It should return True, but it returns False.  

I have tested with the default Ubuntu python 2.7.15 and with compiled python 2.7.16.

Note that the problem does not exist in python3 and also python 2.7 and 3.x in Windows.  So it is only python 2.7 in Ubuntu.
History
Date User Action Args
2019-10-07 16:09:58pyscriptersetrecipients: + pyscripter
2019-10-07 16:09:58pyscriptersetmessageid: <1570464598.55.0.274340335252.issue38398@roundup.psfhosted.org>
2019-10-07 16:09:58pyscripterlinkissue38398 messages
2019-10-07 16:09:58pyscriptercreate