]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Make MemoryError free list per interpreter (GH-21086)
authorVictor Stinner <vstinner@python.org>
Tue, 23 Jun 2020 20:55:46 +0000 (22:55 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 20:55:46 +0000 (22:55 +0200)
commit281cce1106568ef9fec17e3c72d289416fac02a5
tree529d24e0db048c8914cc8a12ebf7b8328a62665d
parent2c6e4e91c5a4d3f25908108f4ed32aba936df70c
bpo-40521: Make MemoryError free list per interpreter (GH-21086)

Each interpreter now has its own MemoryError free list: it is not
longer shared by all interpreters.

Add _Py_exc_state structure and PyInterpreterState.exc_state member.
Move also errnomap into _Py_exc_state.
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/exceptions.c
Python/pylifecycle.c