diff options
| author | Walter Dörwald <walter@livinglogic.de> | 2009-04-25 12:15:07 (GMT) |
|---|---|---|
| committer | Walter Dörwald <walter@livinglogic.de> | 2009-04-25 12:15:07 (GMT) |
| commit | a145317be9989bcb17f9631af7e2fc3d0e628669 (patch) | |
| tree | 372cc24098212e52da14b58282b889b126fa149b /Python/getargs.c | |
| parent | 162641a24cf2228246a9b8d5e0ca415a32444d5f (diff) | |
| download | cpython-a145317be9989bcb17f9631af7e2fc3d0e628669.zip cpython-a145317be9989bcb17f9631af7e2fc3d0e628669.tar.gz cpython-a145317be9989bcb17f9631af7e2fc3d0e628669.tar.bz2 | |
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().
Diffstat (limited to 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions
