commit | 729df0104584b64a51f919feb759d1b922508ba2 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Sat Apr 25 12:23:49 2009 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Sat Apr 25 12:23:49 2009 +0000 |
tree | 2e81a49c7cdbc1662497b5ed1851f895a47ee485 | |
parent | be7b7bb90254f012a39c726ad4fa278c10ea8b1b [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(). ........