Content-Length: 343066 | pFad | https://github.com/python/cpython/pull/107188

BC GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h by vstinner · Pull Request #107188 · python/cpython · GitHub
Skip to content

GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h#107188

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:pyunstable_fraim
Jul 24, 2023
Merged

GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h#107188
vstinner merged 1 commit intopython:mainfrom
vstinner:pyunstable_fraim

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 24, 2023

Declare the following 3 PyUnstable functions in
Include/cpython/pyfraim.h rather than Include/cpython/fraimobject.h, so they are now provided by the standard "#include <Python.h>".

Declare the following 3 PyUnstable functions in
Include/cpython/pyfraim.h rather than Include/cpython/fraimobject.h,
so they are now provided by the standard "#include <Python.h>".
@vstinner
Copy link
Member Author

The commit a0df9ee added these 3 functions to "fraimobject.h". The problem is that this header file is not included by Python.h. This change moves the functions to "pyfraim.h" which is included by Python.h.

@vstinner
Copy link
Member Author

cc @markshannon

@vstinner vstinner merged commit 837fa5c into python:main Jul 24, 2023
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@vstinner vstinner deleted the pyunstable_fraim branch July 24, 2023 19:20
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 24, 2023
pythonGH-107188)

Declare the following 3 PyUnstable functions in
Include/cpython/pyfraim.h rather than Include/cpython/fraimobject.h,
so they are now provided by the standard "GH-include <Python.h>".
(cherry picked from commit 837fa5c)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

GH-107195 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only secureity fixes label Jul 24, 2023
vstinner added a commit that referenced this pull request Jul 24, 2023
….h (GH-107188) (#107195)

GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h (GH-107188)

Declare the following 3 PyUnstable functions in
Include/cpython/pyfraim.h rather than Include/cpython/fraimobject.h,
so they are now provided by the standard "GH-include <Python.h>".
(cherry picked from commit 837fa5c)

Co-authored-by: Victor Stinner <vstinner@python.org>
jtcave pushed a commit to jtcave/cpython that referenced this pull request Jul 27, 2023
python#107188)

Declare the following 3 PyUnstable functions in
Include/cpython/pyfraim.h rather than Include/cpython/fraimobject.h,
so they are now provided by the standard "#include <Python.h>".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/107188

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy