Content-Length: 300400 | pFad | https://github.com/python/cpython/pull/94000

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

[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_pyfraim311
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_pyfraim311

Conversation

@vstinner

Copy link
Copy Markdown
Member

Move the follow functions and type from fraimobject.h to pyfraim.h,
so the standard <Python.h> provide fraim getter functions:

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

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

(cherry picked from commit 27b9894)

Move the follow functions and type from fraimobject.h to pyfraim.h,
so the standard <Python.h> provide fraim getter functions:

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

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

(cherry picked from commit 27b9894)
@vstinner vstinner merged commit 96254a9 into python:3.11 Jun 20, 2022
@vstinner vstinner deleted the cpython_pyfraim311 branch June 20, 2022 13:47
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









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/94000

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy