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

"Martin v. Löwis" martin at v.loewis.de
Sat Dec 6 02:22:29 CET 2008


>> 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)
> 
> Please, don't do that! Bytes are not characters!

And environment variables, command line arguments, and file names
are not bytes, but characters.

Regards,
Martin


More information about the Python-Dev mailing list