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 Arfrever, pitrou, vstinner
Date 2010-05-16.02:22:46
SpamBayes Score 0.0008986932
Marked as misclassified No
Message-id <1273976569.61.0.394545649593.issue8640@psf.upfronthosting.co.za>
In-reply-to
Content
pitou> Why wouldn't you give byte variables in env too?

Ok, attached patch canonicalize env keys and values to bytes. If a variable is defined twice (str name, bytes name), a ValueError is raised.

The patch depends on #8513: it requires that os.get_exec_path() is patched to support b'PATH' key.
History
Date User Action Args
2010-05-16 02:22:49vstinnersetrecipients: + vstinner, pitrou, Arfrever
2010-05-16 02:22:49vstinnersetmessageid: <1273976569.61.0.394545649593.issue8640@psf.upfronthosting.co.za>
2010-05-16 02:22:48vstinnerlinkissue8640 messages
2010-05-16 02:22:47vstinnercreate