[Python-Dev] Adding the 'path' module (was Re: Some RFE for review) (original) (raw)

Neil Hodgson nyamatongwe at gmail.com
Sat Jul 9 15:04:38 CEST 2005


M.-A. Lemburg:

I don't really buy this "trick": what if you happen to have a home directory with Unicode characters in it ?

Most people choose account names and thus home directory names that are compatible with their preferred locale settings: German users are unlikely to choose an account name that uses Japanese characters. Unicode is only necessary for file names that are outside your default locale. An administration utility may need to visit multiple user's home directories and so is more likely to encounter files with names that can not be represented in its default locale.

I think it would be better if sys.path could include unicode entries but expect the code will rarely be exercised.

Neil



More information about the Python-Dev mailing list