[issue39413] Implement os.unsetenv() on Windows
STINNER Victor
report at bugs.python.org
Tue Jan 21 13:04:18 EST 2020
STINNER Victor <vstinner at python.org> added the comment:
> This bypasses the CRT's copy of the environment. If any C code calls [_w]getenv, it will still see the variable defined. The only way it won't is if setting the value also bypassed the CRT environment by directly calling SetEnvironmentVariableW.
Oh. That's a valid concern. I reopen the issue.
----------
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39413>
_______________________________________
More information about the Python-bugs-list
mailing list