summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-11-21 11:14:54 (GMT)
committerGitHub <noreply@github.com>2022-11-21 11:14:54 (GMT)
commitcb2ef8b2acbb231c207207d3375b2f8b0077a6ee (patch)
treef08be5cc20b4440b7c55f25e8d195790d42535ce /Misc
parent1cae31d26ba621f6b1f0656ad3d69a0236338bad (diff)
downloadcpython-cb2ef8b2acbb231c207207d3375b2f8b0077a6ee.zip
cpython-cb2ef8b2acbb231c207207d3375b2f8b0077a6ee.tar.gz
cpython-cb2ef8b2acbb231c207207d3375b2f8b0077a6ee.tar.bz2
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".
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-11-21-11-27-14.gh-issue-99578.DcKoBJ.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-21-11-27-14.gh-issue-99578.DcKoBJ.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-21-11-27-14.gh-issue-99578.DcKoBJ.rst
new file mode 100644
index 0000000..9321cef
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-11-21-11-27-14.gh-issue-99578.DcKoBJ.rst
@@ -0,0 +1,3 @@
+Fix a reference bug in :func:`_imp.create_builtin()` after the creation of the
+first sub-interpreter for modules ``builtins`` and ``sys``. Patch by Victor
+Stinner.