Message211619
By the way, Python allows also to set an environment with a name containing "=", whereas getenv/setenv/unsetenv doesn't.
$ env -i python -c 'import pprint, posix, os; os.environ["a="]="1"; print(os.environ); posix.unsetenv("a=")'
environ({'a=': '1'})
Traceback (most recent call last):
File "<string>", line 1, in <module>
OSError: [Errno 22] Invalid argument |
|
Date |
User |
Action |
Args |
2014-02-19 13:41:49 | vstinner | set | recipients:
+ vstinner, blueyed, ned.deily |
2014-02-19 13:41:49 | vstinner | set | messageid: <1392817309.79.0.642504020297.issue20658@psf.upfronthosting.co.za> |
2014-02-19 13:41:49 | vstinner | link | issue20658 messages |
2014-02-19 13:41:49 | vstinner | create | |
|