]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36854: Fix refleak in subinterpreter (GH-17331)
authorVictor Stinner <vstinner@python.org>
Fri, 22 Nov 2019 09:58:00 +0000 (10:58 +0100)
committerGitHub <noreply@github.com>
Fri, 22 Nov 2019 09:58:00 +0000 (10:58 +0100)
commit310e2d25170a88ef03f6fd31efcc899fe062da2c
tree183e69c59f1997d35021f3e708c4056bb8303a05
parent91daa9d7224626dad4bb820924c01b3438ca6e3f
bpo-36854: Fix refleak in subinterpreter (GH-17331)

finalize_interp_clear() now explicitly clears the codec registry and
then trigger a GC collection to clear all references.
Modules/_testcapimodule.c
Python/pylifecycle.c