]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Make slice cache per-interpreter (GH-20637)
authorVictor Stinner <vstinner@python.org>
Thu, 4 Jun 2020 23:14:40 +0000 (01:14 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2020 23:14:40 +0000 (01:14 +0200)
commit7daba6f221e713f7f60c613b246459b07d179f91
tree54d09c4a586483468666fc635dee8152e5d8e102
parent2ba59370c3dda2ac229c14510e53a05074b133d1
bpo-40521: Make slice cache per-interpreter (GH-20637)

Each interpreter now has its own slice cache:

* Move slice cache into PyInterpreterState.
* Add tstate parameter to _PySlice_Fini().
Include/internal/pycore_interp.h
Include/internal/pycore_pylifecycle.h
Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
Objects/sliceobject.c
Python/pylifecycle.c