STINNER Victor <[EMAIL PROTECTED]> added the comment:

About your subprocess example: we choose to refuse it because we don't 
mix bytes (your non decodable PATH) and unicode ('myapp.sh'). Using my 
patch in issue #4036 you will be able to run program with bytes 
arguments (including the program name), but there is no way (yet?) in 
Python3 to read the raw (bytes) environment variable PATH.

About Python2, I retested and all versions (2.5.2 and trunk (2.7a0)) 
keep the variables. But Python2 doesn't convert value to unicode and 
so it's not right example. Python2 skips variable with no "=" 
character, but I don't know how to reproduce this example (maybe using 
a C program using execve).

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4126>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to