[issue6011] python doesn't build if prefix contains non-ascii characters
STINNER Victor
report at bugs.python.org
Tue Nov 9 00:07:25 CET 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Fatal Python error: Py_Initialize: Unable to get the locale encoding
> SystemError: NULL result without error in PyObject_Call
Gotcha! r86341 fixes PyUnicode_EncodeFS(): raise an error if _Py_char2wchar_() fails.
The real problem is that PREFIX is not decoded using _Py_charw2char(), but using a C hack: >L"" PREFIX<. It should use _Py_charw2char() as I did for VPATH in r85800.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6011>
_______________________________________
More information about the Python-bugs-list
mailing list