Message86450
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. |
|
Date |
User |
Action |
Args |
2009-04-25 10:34:52 | doerwalter | set | recipients:
+ doerwalter, mark.dickinson, pitrou, tarek, ned.deily, gerluijten |
2009-04-25 10:34:52 | doerwalter | set | messageid: <1240655692.08.0.550764980308.issue4951@psf.upfronthosting.co.za> |
2009-04-25 10:34:51 | doerwalter | link | issue4951 messages |
2009-04-25 10:34:50 | doerwalter | create | |
|