This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author robert.ancell
Recipients draghuram, loewis, pythonmeister, robert.ancell
Date 2007-09-14.04:42:15
SpamBayes Score 0.1468153
Marked as misclassified No
Message-id <1189744938.07.0.311846256441.issue1159@psf.upfronthosting.co.za>
In-reply-to
Content
I've attached proof-of-concept showing how os.environ would ideally
work. It'll only work in Posix, etc etc.

Reading into it more there are a lot of general issues with environments
and memory allocation which is why I suspect Python doesn't use
putenv... See putenv(3) for details.

Compile with:
gcc -shared -o environmodule.so -g -Wall -I /usr/include/python2.5
environmodule.c
Files
File name Uploaded
environmodule.c robert.ancell, 2007-09-14.04:42:16
History
Date User Action Args
2007-09-14 04:42:18robert.ancellsetspambayes_score: 0.146815 -> 0.1468153
recipients: + robert.ancell, loewis, draghuram, pythonmeister
2007-09-14 04:42:18robert.ancellsetspambayes_score: 0.146815 -> 0.146815
messageid: <1189744938.07.0.311846256441.issue1159@psf.upfronthosting.co.za>
2007-09-14 04:42:17robert.ancelllinkissue1159 messages
2007-09-14 04:42:16robert.ancellcreate