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

Michael Urman murman at gmail.com
Sat Dec 6 02:55:44 CET 2008


On Fri, Dec 5, 2008 at 19:22, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> Please, don't do that! Bytes are not characters!
>
> And environment variables, command line arguments, and file names
> are not bytes, but characters.

On Windows NT, sure. On Unix they're still bytes no matter how much we
want them to be characters.

This difference, and secondarily the way python 3 tries to sweep it
under the rug, seem to be the roots of the problem.

-- 
Michael Urman


More information about the Python-Dev mailing list