[issue1342] Crash on Windows if Python runs from a directory with umlauts
report at bugs.python.org
Tue Nov 13 16:37:47 CET 2007
Christian Heimes added the comment:
I like to move _PyExc_Init() before _PySys_Init() and set sys.prefix,
exec_prefix and executable with PyUnicode_DecodeFSDefault().
Without the changes Python is seg faulting on Windows when the path
contains non ASCII chars. With the patch it is failing with a fatal
error which is a tiny bit nicer.
Added file: http://bugs.python.org/file8741/py3k_win_nonascii.patch
Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1479 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071113/de1942fb/attachment.patch
More information about the Python-bugs-list