Skip to content

bpo-39413: Implement os.unsetenv() on Windows - #18104

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:unsetenv_win
Jan 21, 2020
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:unsetenv_win

Conversation

@vstinner

@vstinner vstinner commented Jan 21, 2020 •

Copy link
Copy Markdown
Member

The os.unsetenv() function is now also available on Windows.

It is implemented with SetEnvironmentVariableW(name, NULL).

https://bugs.python.org/issue39413

The os.unsetenv() function is now also available on Windows.

It is implemented with SetEnvironmentVariableW(name, NULL).
@vstinner
vstinner merged commit 56cd371 into python:master Jan 21, 2020
@vstinner
vstinner deleted the unsetenv_win branch January 21, 2020 15:13
sthagen added a commit to sthagen/python-cpython that referenced this pull request Jan 21, 2020
bpo-39413: Implement os.unsetenv() on Windows (pythonGH-18104)
vstinner added a commit that referenced this pull request Jan 22, 2020
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
The os.unsetenv() function is now also available on Windows.

It is implemented with SetEnvironmentVariableW(name, NULL).
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants