[issue38398] PyUnicode functions are not exported by python 2 in Ubuntu
PyScripter
report at bugs.python.org
Mon Oct 7 12:09:58 EDT 2019
New submission from PyScripter <pyscripter at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38398>
_______________________________________
More information about the Python-bugs-list
mailing list