Martin v. Löwis <mar...@v.loewis.de> added the comment:

I think the patch is incorrect. It shouldn't do any encoding conversion, but 
perform the expanding completely in Unicode strings.

For 2.x, I recommend to close this as "won't fix". Expanding a Unicode strings 
is just not supported. If it was supported, it should be supported correctly, 
i.e. allowing both environment variable names and environment variable values 
to have non-ASCII characters in them, and, on Windows, even non-MBCS characters.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6815>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to