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 eric.araujo, nils, tarek, vstinner, zegreek
Date 2010-11-08.23:07:23
SpamBayes Score 2.411192e-05
Marked as misclassified No
Message-id <1289257645.37.0.436853286677.issue6011@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2010-11-08 23:07:25vstinnersetrecipients: + vstinner, tarek, eric.araujo, zegreek, nils
2010-11-08 23:07:25vstinnersetmessageid: <1289257645.37.0.436853286677.issue6011@psf.upfronthosting.co.za>
2010-11-08 23:07:24vstinnerlinkissue6011 messages
2010-11-08 23:07:23vstinnercreate