Author vstinner
Recipients eric.araujo, tarek, vstinner, zegreek
Date 2010-09-14.12:02:44
SpamBayes Score 6.14953e-13
Marked as misclassified No
Message-id <1284465781.34.0.139733824908.issue6011@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-14 12:03:01vstinnersetrecipients: + vstinner, tarek, eric.araujo, zegreek
2010-09-14 12:03:01vstinnersetmessageid: <1284465781.34.0.139733824908.issue6011@psf.upfronthosting.co.za>
2010-09-14 12:02:45vstinnerlinkissue6011 messages
2010-09-14 12:02:44vstinnercreate