Unicode entries on sys.path
Just
just at xs4all.nl
Thu Dec 23 13:40:17 EST 2004
In article <41CB0D7A.3080107 at v.loewis.de>,
"Martin v. Lowis" <martin at v.loewis.de> wrote:
> > Hm, maybe more a windows question than a python question...
>
> The real question here is: why does Python not support arbitrary
> Unicode strings on sys.path? It could, in principle, atleast on
> Windows NT+ (and also on OSX). Patches are welcome.
Works for me on OSX 10.3.6, as it should: prior to using the sys.path
entry, a unicode string is encoded with Py_FileSystemDefaultEncoding.
I'm not sure how well it works together with zipimport, though.
Just
More information about the Python-list
mailing list