]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38858: Fix ref leak in pycore_interp_init() (GH-17512)
authorVictor Stinner <vstinner@python.org>
Sun, 8 Dec 2019 20:55:58 +0000 (21:55 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Dec 2019 20:55:58 +0000 (21:55 +0100)
commit080ee5a88406fb68aaab741145cd5d2a7c5f2ad6
treefe03b0e8a3e8b5f7e758c2f6363ec0f989304aa3
parent526606baf76e7a5309bb00f3bfaefa861a2014ba
bpo-38858: Fix ref leak in pycore_interp_init() (GH-17512)

bpo-38858, bpo-38997: _PySys_Create() returns a strong reference to
the sys module: Py_DECREF() is needed when we are done with the
module.
Python/pylifecycle.c