GH-96803: Add three C-API functions to make _PyInterpreterFrame less opaque for users of PEP 523.#96849
Conversation
… users of PEP 523.
pablogsal
left a comment
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
Maybe added these functions to cpython/pyframe.h instead.
I don't know why frameobject.h is not included by Python.h: you have to include it explicitly, which goes against the advice of only including Python.h in C extensions. So I recently added pyframe.h which is included by Python.h. Maybe we should just move frameobject.h content into pyframe.h.
In Python 3.11, I moved multiple functions from frameobject.h to pyframe.h: 27b9894
Sorry, something went wrong.
…IS.rst Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
|
(I'm working my way through some PRs which have been approved and are labeled "awaiting merge", hence my seemingly bolt from the blue comment. Why? Read here.) This PR has been idle for awhile. Can it be merged or is there more to do? |
Sorry, something went wrong.
|
Is this supposed to be in 3.12? |
Sorry, something went wrong.
|
We might as well. I'm unsure how people use PEP 523, but this should help. I'll add the |
Sorry, something went wrong.
67a5450 to
7fbece8
Compare
May 5, 2023 16:23
* main: pythongh-99113: Add PyInterpreterConfig.own_gil (pythongh-104204) pythongh-104146: Remove unused var 'parser_body_declarations' from clinic.py (python#104214) pythongh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (pythongh-104205) pythongh-104108: Add the Py_mod_multiple_interpreters Module Def Slot (pythongh-104148) pythongh-99113: Share the GIL via PyInterpreterState.ceval.gil (pythongh-104203) pythonGH-100479: Add `pathlib.PurePath.with_segments()` (pythonGH-103975) pythongh-69152: Add _proxy_response_headers attribute to HTTPConnection (python#26152) pythongh-103533: Use PEP 669 APIs for cprofile (pythonGH-103534) pythonGH-96803: Add three C-API functions to make _PyInterpreterFrame less opaque for users of PEP 523. (pythonGH-96849)
… less opaque for users of PEP 523. (pythonGH-96849)
edited by bedevere-bot
LoadingUh oh!
There was an error while loading. Please reload this page.
Copy link Copy MarkdownSorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.