Message252363
AFAICT, on Windows using the posix_putenv_garbage dict is unnecessary. The Windows C runtime creates a private copy of the string, so there's no need to keep a reference. Moreover, since there's no unsetenv, deleting a variable is accomplished by calling putenv with an empty value, e.g. putenv('foo', ''). This leaks an item in posix_putenv_garbage, which is left set as ('foo', 'foo='). |
|
Date |
User |
Action |
Args |
2015-10-05 22:34:55 | eryksun | set | recipients:
+ eryksun, loewis, pefu, amaury.forgeotdarc, ggenellina, baikie |
2015-10-05 22:34:54 | eryksun | set | messageid: <1444084494.99.0.656211650259.issue4926@psf.upfronthosting.co.za> |
2015-10-05 22:34:54 | eryksun | link | issue4926 messages |
2015-10-05 22:34:54 | eryksun | create | |
|