◐ Shell
clean mode source ↗

[WIP] bpo-39413: os.unsetenv() uses _wputenv() on Windows by vstinner · Pull Request #18115 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

eryksun

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.

eryksun

eryksun

@vstinner vstinner changed the title bpo-39413: os.unsetenv() uses _wputenv() on Windows [WIP] bpo-39413: os.unsetenv() uses _wputenv() on Windows

Jan 22, 2020

Labels