summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-23 20:55:46 (GMT)
committerGitHub <noreply@github.com>2020-06-23 20:55:46 (GMT)
commit281cce1106568ef9fec17e3c72d289416fac02a5 (patch)
tree529d24e0db048c8914cc8a12ebf7b8328a62665d /Misc
parent2c6e4e91c5a4d3f25908108f4ed32aba936df70c (diff)
downloadcpython-281cce1106568ef9fec17e3c72d289416fac02a5.zip
cpython-281cce1106568ef9fec17e3c72d289416fac02a5.tar.gz
cpython-281cce1106568ef9fec17e3c72d289416fac02a5.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst b/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
index a62383d..9b94bcc 100644
--- a/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
+++ b/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
@@ -1,10 +1,9 @@
Each interpreter now its has own free lists, singletons and caches:
* Free lists: float, tuple, list, dict, frame, context,
- asynchronous generator.
+ asynchronous generator, MemoryError.
* Singletons: empty tuple, empty bytes string,
single byte character.
* Slice cache.
They are no longer shared by all interpreters.
-