commit | 4ba801360af443813233131252100c35825288c9 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Sat Apr 25 12:48:43 2009 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Sat Apr 25 12:48:43 2009 +0000 |
tree | 111b95034301e21fad155bf974c8b0498a867476 | |
parent | 23336083d3ad050d6389d4696147e4e0c71536cb [diff] |
Merged revisions 71875 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r71875 | walter.doerwald | 2009-04-25 14:15:07 +0200 (Sa, 25 Apr 2009) | 7 lines Issue #5837: Certain sequences of calls to set() and unset() for support.EnvironmentVarGuard objects restored the environment variables incorrectly on __exit__. Fix this by recording the initial value of each environment variable on the first access in set() or unset(). ........