Author vstinner
Recipients blueyed, ned.deily, vstinner
Date 2014-02-18.11:53:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
putenv("=value") does nothing: it doesn't create a variable with an empty name. You can test with the attach script (written for Linux).

Attached reject_empty_env_var.patch patch modifies posix.putenv() to raise a ValueError if the name is empty.

The patch is incomplete, the Windows part should also be modified. But I didn't test yet if Windows supports variables with empty name.
Date User Action Args
2014-02-18 11:53:04vstinnersetrecipients: + vstinner, blueyed, ned.deily
2014-02-18 11:53:04vstinnersetmessageid: <>
2014-02-18 11:53:04vstinnerlinkissue20658 messages
2014-02-18 11:53:04vstinnercreate