Author vstinner
Recipients blueyed, ned.deily, vstinner
Date 2014-02-18.11:53:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392724384.38.0.705206757201.issue20658@psf.upfronthosting.co.za>
In-reply-to
Content
putenv("=value") does nothing: it doesn't create a variable with an empty name. You can test with the attach test_empty_env_var.py 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.
History
Date User Action Args
2014-02-18 11:53:04vstinnersetrecipients: + vstinner, blueyed, ned.deily
2014-02-18 11:53:04vstinnersetmessageid: <1392724384.38.0.705206757201.issue20658@psf.upfronthosting.co.za>
2014-02-18 11:53:04vstinnerlinkissue20658 messages
2014-02-18 11:53:04vstinnercreate