This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients a.badger, vstinner
Date 2008-10-15.08:24:56
SpamBayes Score 2.160749e-09
Marked as misclassified No
Message-id <1224059098.87.0.400171846969.issue4126@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2008-10-15 08:24:59vstinnersetrecipients: + vstinner, a.badger
2008-10-15 08:24:58vstinnersetmessageid: <1224059098.87.0.400171846969.issue4126@psf.upfronthosting.co.za>
2008-10-15 08:24:57vstinnerlinkissue4126 messages
2008-10-15 08:24:56vstinnercreate