Skip to content

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

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

Merged
merged 1 commit into from
Feb 25, 2022
Merged

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

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 merged commit 8f2a337 into python:main Feb 25, 2022
@vstinner vstinner deleted the pycore_genobject branch February 25, 2022 15:07
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.

3 participants