[Python-Dev] Python-3.0, unicode, and os.environ

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 5 00:39:24 CET 2008


> In the bug report I opened, I listed four ways to fix this along with
> the pros and cons:

I'm in favour of a different, fifth solution:

5) represent all environment variables in Unicode strings,
   including the ones that currently fail to decode.
   (then do the same to file names, then drop the byte-oriented
    file operations again)

Regards,
Martin


More information about the Python-Dev mailing list