STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue39413>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to