Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-39984: Add PyInterpreterState.ceval #19047

Merged
merged 1 commit into from
Mar 17, 2020
Merged

bpo-39984: Add PyInterpreterState.ceval #19047

merged 1 commit into from
Mar 17, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 17, 2020

subinterpreters: Move _PyRuntimeState.ceval.tracing_possible to
PyInterpreterState.ceval.tracing_possible: each interpreter now has
its own variable.

Changes:

  • Add _ceval_state structure.
  • Add PyInterpreterState.ceval field.
  • _PyEval_EvalFrameDefault(): add ceval2 variable (struct _ceval_state*).
  • Rename _PyEval_Initialize() to _PyEval_InitRuntimeState()
  • Add _PyEval_InitState()
  • Don't export internal _Py_FinishPendingCalls() and
    _PyEval_FiniThreads() functions anymore.

https://bugs.python.org/issue39984

subinterpreters: Move _PyRuntimeState.ceval.tracing_possible to
PyInterpreterState.ceval.tracing_possible: each interpreter now has
its own variable.

Changes:

* Add _ceval_state structure.
* Add PyInterpreterState.ceval field.
* _PyEval_EvalFrameDefault(): add ceval2 variable (struct _ceval_state*).
* Rename _PyEval_Initialize() to _PyEval_InitRuntimeState()
* Add _PyEval_InitState()
* Don't export internal _Py_FinishPendingCalls() and
  _PyEval_FiniThreads() functions anymore.
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