Author vstinner
Recipients blueyed, ned.deily, vstinner
Date 2014-02-19.13:41:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392817309.79.0.642504020297.issue20658@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-02-19 13:41:49vstinnersetrecipients: + vstinner, blueyed, ned.deily
2014-02-19 13:41:49vstinnersetmessageid: <1392817309.79.0.642504020297.issue20658@psf.upfronthosting.co.za>
2014-02-19 13:41:49vstinnerlinkissue20658 messages
2014-02-19 13:41:49vstinnercreate