]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39395: putenv() and unsetenv() always available (GH-18135)
authorVictor Stinner <vstinner@python.org>
Fri, 24 Jan 2020 13:05:48 +0000 (14:05 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Jan 2020 13:05:48 +0000 (14:05 +0100)
commitb8d1262e8afe7b907b4a394a191739571092acdb
tree32ad60fdd1ee4b039233a25a0663f022f97b0e77
parent161e7b36b1ea871a1352ccfc1d4f4c1eda76830f
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.
12 files changed:
Doc/library/os.rst
Doc/whatsnew/3.9.rst
Lib/os.py
Lib/test/test_os.py
Lib/test/test_posix.py
Misc/NEWS.d/next/Build/2020-01-23-03-05-13.bpo-39395.RoArIZ.rst [new file with mode: 0644]
Misc/NEWS.d/next/Library/2020-01-23-03-05-41.bpo-39395.4dda42.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c
configure
configure.ac
pyconfig.h.in