[WIP] bpo-39413: os.unsetenv() uses _wputenv() on Windows by vstinner · Pull Request #18115 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Conversation
os.unsetenv() uses _wputenv() rather than SetEnvironmentVariableW(): _wputenv() updates the CRT, whereas SetEnvironmentVariableW() does not. Replace also lambda functions with regular functions to get named functions, to ease debug.
vstinner
changed the title
bpo-39413: os.unsetenv() uses _wputenv() on Windows
[WIP] bpo-39413: os.unsetenv() uses _wputenv() on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters