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

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

It is implemented with SetEnvironmentVariableW(name, NULL).
This commit is contained in:
Victor Stinner 2020-01-21 16:13:09 +01:00 committed by GitHub
parent 59e2d26b25
commit 56cd3710a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 92 additions and 12 deletions

View file

@ -645,6 +645,9 @@ process and user.
.. availability:: most flavors of Unix, Windows.
.. versionchanged:: 3.9
The function is now also available on Windows.
.. _os-newstreams: