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 doerwalter
Recipients doerwalter, gerluijten, mark.dickinson, ned.deily, pitrou, tarek
Date 2009-04-25.10:34:50
SpamBayes Score 0.002887144
Marked as misclassified No
Message-id <1240655692.08.0.550764980308.issue4951@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, EnvironmentVarGuard seems to be broken:

import os
from test import support

with support.EnvironmentVarGuard() as env:
   env.unset("HOME")
   env.set("HOME", "bar")

print(os.environ.get("HOME"))

I would have expected that to print the original HOME variable. I'm
going to open a new bug report for that.
History
Date User Action Args
2009-04-25 10:34:52doerwaltersetrecipients: + doerwalter, mark.dickinson, pitrou, tarek, ned.deily, gerluijten
2009-04-25 10:34:52doerwaltersetmessageid: <1240655692.08.0.550764980308.issue4951@psf.upfronthosting.co.za>
2009-04-25 10:34:51doerwalterlinkissue4951 messages
2009-04-25 10:34:50doerwaltercreate