Message211508
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. |
|
Date |
User |
Action |
Args |
2014-02-18 11:53:04 | vstinner | set | recipients:
+ vstinner, blueyed, ned.deily |
2014-02-18 11:53:04 | vstinner | set | messageid: <1392724384.38.0.705206757201.issue20658@psf.upfronthosting.co.za> |
2014-02-18 11:53:04 | vstinner | link | issue20658 messages |
2014-02-18 11:53:04 | vstinner | create | |
|