]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Cleanup code of free lists (GH-21082)
authorVictor Stinner <vstinner@python.org>
Tue, 23 Jun 2020 14:40:40 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 14:40:40 +0000 (16:40 +0200)
commit522691c46e2ae51faaad5bbbce7d959dd61770df
treeb6f833b6712837379d135d56125b9f3fe0dc4fa0
parentbc43f6e21244f31d25896875430174cd4ac7604c
bpo-40521: Cleanup code of free lists (GH-21082)

Add get_xxx_state() function to factorize duplicated code.
Objects/dictobject.c
Objects/floatobject.c
Objects/frameobject.c
Objects/genobject.c
Objects/listobject.c
Objects/sliceobject.c
Objects/tupleobject.c
Python/context.c