Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 23, 2020

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.

Rename MEMERRORS_SAVE macro to _PY_MEMERRORS_SAVE.

https://bugs.python.org/issue40521

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.

Rename MEMERRORS_SAVE macro to _PY_MEMERRORS_SAVE.
@vstinner vstinner merged commit 281cce1 into python:master Jun 23, 2020
@vstinner vstinner deleted the interp_exc_state branch June 23, 2020 20:55
fasih pushed a commit to fasih/cpython that referenced this pull request Jun 29, 2020
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants