]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Disable free lists in subinterpreters (GH-19937)
authorVictor Stinner <vstinner@python.org>
Tue, 5 May 2020 17:55:29 +0000 (19:55 +0200)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 17:55:29 +0000 (19:55 +0200)
commitb4b53868d7d6cd13505321d3802fd00865b25e05
tree850dd2ad175f058b4d040bd38b5757c2149cc3b5
parentac4bf424119d1300f57929120968e216a85d3a25
bpo-40521: Disable free lists in subinterpreters (GH-19937)

When Python is built with experimental isolated interpreters, disable
tuple, dict and free free lists.

Temporary workaround until these caches are made per-interpreter.

Add frame_alloc() and frame_get_builtins() subfunctions to simplify
_PyFrame_New_NoTrack().
Objects/dictobject.c
Objects/frameobject.c
Objects/tupleobject.c