New submission from PyScripter <pyscrip...@gmail.com>: 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. ---------- components: Library (Lib) messages: 354105 nosy: pyscripter priority: normal severity: normal status: open title: PyUnicode functions are not exported by python 2 in Ubuntu type: crash versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38398> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com