Message252363
| 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='). |
|