X Tutup
The Wayback Machine - https://web.archive.org/web/20221223152227/https://github.com/python/cpython/pull/31579
Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-45316: Move private functions to internal C API #31579

Merged
merged 1 commit into from Feb 25, 2022

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Feb 25, 2022

Move the unexported private functions to the internal C API:

  • pycore_frame.h: _PyFrame_New_NoTrack()
  • pycore_function.h: _PyFunction_GetVersionForCurrentState()
  • pycore_genobject.h: _PyAsyncGenValueWrapperNew()
  • pycore_genobject.h: _PyCoro_GetAwaitableIter()
  • pycore_genobject.h: _PyGen_yf()

https://bugs.python.org/issue45316

Move the unexported private functions to the internal C API:

* pycore_frame.h: _PyFrame_New_NoTrack()
* pycore_function.h: _PyFunction_GetVersionForCurrentState()
* pycore_genobject.h: _PyAsyncGenValueWrapperNew()
* pycore_genobject.h: _PyCoro_GetAwaitableIter()
* pycore_genobject.h: _PyGen_yf()
@vstinner vstinner requested review from 1st1 and markshannon as code owners Feb 25, 2022
@vstinner vstinner merged commit 8f2a337 into python:main Feb 25, 2022
11 checks passed
@vstinner vstinner deleted the pycore_genobject branch Feb 25, 2022
asvetlov pushed a commit that referenced this pull request Feb 26, 2022
Move the unexported private functions to the internal C API:

* pycore_frame.h: _PyFrame_New_NoTrack()
* pycore_function.h: _PyFunction_GetVersionForCurrentState()
* pycore_genobject.h: _PyAsyncGenValueWrapperNew()
* pycore_genobject.h: _PyCoro_GetAwaitableIter()
* pycore_genobject.h: _PyGen_yf()
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.

None yet

3 participants
X Tutup