This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients amaury.forgeotdarc, baikie, eryksun, ggenellina, loewis, pefu
Date 2015-10-05.22:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444084494.99.0.656211650259.issue4926@psf.upfronthosting.co.za>
In-reply-to
Content
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=').
History
Date User Action Args
2015-10-05 22:34:55eryksunsetrecipients: + eryksun, loewis, pefu, amaury.forgeotdarc, ggenellina, baikie
2015-10-05 22:34:54eryksunsetmessageid: <1444084494.99.0.656211650259.issue4926@psf.upfronthosting.co.za>
2015-10-05 22:34:54eryksunlinkissue4926 messages
2015-10-05 22:34:54eryksuncreate