FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) by vstinner · Pull Request #94000 · python/cpython · GitHub

/ cpython Public

[3.11] gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) - #94000

Merged
vstinner merged 1 commit into
python:3.11from
vstinner:cpython_pyframe311
Jun 20, 2022
Merged

[3.11] gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938)#94000
vstinner merged 1 commit into
python:3.11from
vstinner:cpython_pyframe311

Conversation

Copy link
Copy Markdown
Member

Move the follow functions and type from frameobject.h to pyframe.h,
so the standard <Python.h> provide frame getter functions:

  • PyFrame_Check()
  • PyFrame_GetBack()
  • PyFrame_GetBuiltins()
  • PyFrame_GetGenerator()
  • PyFrame_GetGlobals()
  • PyFrame_GetLasti()
  • PyFrame_GetLocals()
  • PyFrame_Type

Remove #include "frameobject.h" from many C files. It's no longer
needed.

(cherry picked from commit 27b9894)

Move the follow functions and type from frameobject.h to pyframe.h,
so the standard <Python.h> provide frame getter functions:

* PyFrame_Check()
* PyFrame_GetBack()
* PyFrame_GetBuiltins()
* PyFrame_GetGenerator()
* PyFrame_GetGlobals()
* PyFrame_GetLasti()
* PyFrame_GetLocals()
* PyFrame_Type

Remove #include "frameobject.h" from many C files. It's no longer
needed.

(cherry picked from commit 27b9894)
vstinner merged commit 96254a9 into python:3.11 Jun 20, 2022
vstinner deleted the cpython_pyframe311 branch June 20, 2022 13:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL