New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>:

On cygwin, py3k aborts if lanches it via symbolic link.

//////////// message beg /////////////////////////

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ImportError: No module named encodings.utf_8
Aborted (core dumped)

//////////// message end  /////////////////////////

This is because mbstowcs() on cygwin is broken, so _Py_wreadlink() in
Modules/getpath.c is also broken. I'll attach two patches to fix this. I
don't know which is better.

----------
components: Interpreter Core
files: py3k_getpath_v1.patch
keywords: patch
messages: 72831
nosy: ocean-city
severity: normal
status: open
title: cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS
versions: Python 3.0
Added file: http://bugs.python.org/file11432/py3k_getpath_v1.patch

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3813>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to