diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-24 13:05:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 13:05:48 (GMT) |
commit | b8d1262e8afe7b907b4a394a191739571092acdb (patch) | |
tree | 32ad60fdd1ee4b039233a25a0663f022f97b0e77 /Misc | |
parent | 161e7b36b1ea871a1352ccfc1d4f4c1eda76830f (diff) | |
download | cpython-b8d1262e8afe7b907b4a394a191739571092acdb.zip cpython-b8d1262e8afe7b907b4a394a191739571092acdb.tar.gz cpython-b8d1262e8afe7b907b4a394a191739571092acdb.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Build/2020-01-23-03-05-13.bpo-39395.RoArIZ.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-01-23-03-05-41.bpo-39395.4dda42.rst | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2020-01-23-03-05-13.bpo-39395.RoArIZ.rst b/Misc/NEWS.d/next/Build/2020-01-23-03-05-13.bpo-39395.RoArIZ.rst new file mode 100644 index 0000000..aa2146a --- /dev/null +++ b/Misc/NEWS.d/next/Build/2020-01-23-03-05-13.bpo-39395.RoArIZ.rst @@ -0,0 +1,2 @@ +On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` functions +are now required to build Python. diff --git a/Misc/NEWS.d/next/Library/2020-01-23-03-05-41.bpo-39395.4dda42.rst b/Misc/NEWS.d/next/Library/2020-01-23-03-05-41.bpo-39395.4dda42.rst new file mode 100644 index 0000000..cf71370 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-01-23-03-05-41.bpo-39395.4dda42.rst @@ -0,0 +1,2 @@ +The :func:`os.putenv` and :func:`os.unsetenv` functions are now always +available. |