[issue6011] python doesn't build if prefix contains non-ascii characters
STINNER Victor
report at bugs.python.org
Tue Sep 14 14:03:01 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
For non-ascii directory name but ascii locale (eg. C locale), we have 3 choices:
a- read Makefile as a binary file
b- use the PEP 383
c- refuse to compile
(a) doesn't seem easy because it looks like distutils use the unicode type for all paths. (b) supposes to patch distutils to ensure that reading (and writing?) Makefile uses errors='surrogateescape'.
About (c), it can be a temporary solution. But I also think that non-ascii directory name and ascii locale encoding is a rare use case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6011>
_______________________________________
More information about the Python-bugs-list
mailing list