bpo-39395: putenv() and unsetenv() always available (GH-18135)

The os.putenv() and os.unsetenv() functions are now always available.

On non-Windows platforms, Python now requires setenv() and unsetenv()
functions to build.

Remove putenv_dict from posixmodule.c: it's not longer needed.
This commit is contained in:
Victor Stinner 2020-01-24 14:05:48 +01:00 committed by GitHub
parent 161e7b36b1
commit b8d1262e8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 52 additions and 154 deletions

View file

@ -0,0 +1,2 @@
On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` functions
are now required to build Python.

View file

@ -0,0 +1,2 @@
The :func:`os.putenv` and :func:`os.unsetenv` functions are now always
available.