Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jan 21, 2020
Merged

Conversation

@vstinner
Copy link
Member

vstinner commented Jan 21, 2020

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
9 checks passed
9 checks passed
Docs
Details
Windows (x86)
Details
Windows (x64)
Details
macOS
Details
Ubuntu
Details
Azure Pipelines PR #20200121.28 succeeded
Details
bedevere/issue-number Issue number 39413 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@vstinner vstinner deleted the vstinner:unsetenv_win branch Jan 21, 2020
sthagen added a commit to sthagen/cpython that referenced this pull request Jan 21, 2020
bpo-39413: Implement os.unsetenv() on Windows (pythonGH-18104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.