]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99578: Fix refleak in _imp.create_builtin() (#99642)
authorVictor Stinner <vstinner@python.org>
Mon, 21 Nov 2022 11:14:54 +0000 (12:14 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Nov 2022 11:14:54 +0000 (12:14 +0100)
commitcb2ef8b2acbb231c207207d3375b2f8b0077a6ee
treef08be5cc20b4440b7c55f25e8d195790d42535ce
parent1cae31d26ba621f6b1f0656ad3d69a0236338bad
gh-99578: Fix refleak in _imp.create_builtin() (#99642)

Fix a reference bug in _imp.create_builtin() after the creation of
the first sub-interpreter for modules "builtins" and "sys".
Lib/test/test_imp.py
Misc/NEWS.d/next/Core and Builtins/2022-11-21-11-27-14.gh-issue-99578.DcKoBJ.rst [new file with mode: 0644]
Python/import.c