Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:mainfromvstinner:pyunstable_frame
Jul 24, 2023

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedJul 24, 2023
edited by bedevere-bot
Loading

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

Declare the following 3 PyUnstable functions inInclude/cpython/pyframe.h rather than Include/cpython/frameobject.h,so they are now provided by the standard "#include <Python.h>".
@vstinner
Copy link
MemberAuthor

The commita0df9ee added these 3 functions to "frameobject.h". The problem is that this header file is not included by Python.h. This change moves the functions to "pyframe.h" which is included by Python.h.

@vstinner
Copy link
MemberAuthor

cc@markshannon

@vstinnervstinner merged commit837fa5c intopython:mainJul 24, 2023
@miss-islington
Copy link
Contributor

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

@vstinnervstinner deleted the pyunstable_frame branchJuly 24, 2023 19:20
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 24, 2023
pythonGH-107188)Declare the following 3 PyUnstable functions inInclude/cpython/pyframe.h rather than Include/cpython/frameobject.h,so they are now provided by the standard "GH-include <Python.h>".(cherry picked from commit837fa5c)Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

GH-107195 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelJul 24, 2023
vstinner added a commit that referenced this pull requestJul 24, 2023
….h (GH-107188) (#107195)GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h (GH-107188)Declare the following 3 PyUnstable functions inInclude/cpython/pyframe.h rather than Include/cpython/frameobject.h,so they are now provided by the standard "GH-include <Python.h>".(cherry picked from commit837fa5c)Co-authored-by: Victor Stinner <vstinner@python.org>
jtcave pushed a commit to jtcave/cpython that referenced this pull requestJul 27, 2023
python#107188)Declare the following 3 PyUnstable functions inInclude/cpython/pyframe.h rather than Include/cpython/frameobject.h,so they are now provided by the standard "#include <Python.h>".
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@miss-islington@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp