]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39406: Implement os.putenv() with setenv() if available (GH-18128)
authorVictor Stinner <vstinner@python.org>
Wed, 22 Jan 2020 21:48:16 +0000 (22:48 +0100)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 21:48:16 +0000 (22:48 +0100)
commitb477d19a6b7751b0c933b239dae4fc96dbcde9c4
treea9de7a34e4e80d20192f5db44893e247136f0c51
parent0852c7dd52ac42e7843ddfef44571494e4c86070
bpo-39406: Implement os.putenv() with setenv() if available (GH-18128)

If setenv() C function is available, os.putenv() is now implemented
with setenv() instead of putenv(), so Python doesn't have to handle
the environment variable memory.
Misc/NEWS.d/next/Library/2020-01-22-21-18-58.bpo-39406.HMpe8x.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c
configure
configure.ac
pyconfig.h.in