Skip to content

gh-106320: Remove private pythonrun API#108599

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:pycore_pythonrun
Aug 29, 2023
Merged

gh-106320: Remove private pythonrun API#108599
vstinner merged 1 commit intopython:mainfrom
vstinner:pycore_pythonrun

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Aug 29, 2023

Remove these private functions from the public C API:

  • _PyRun_AnyFileObject()
  • _PyRun_InteractiveLoopObject()
  • _PyRun_SimpleFileObject()
  • _Py_SourceAsString()

Move them to the internal C API: add a new pycore_pythonrun.h header file. No longer export these functions.

Remove these private functions from the public C API:

* _PyRun_AnyFileObject()
* _PyRun_InteractiveLoopObject()
* _PyRun_SimpleFileObject()
* _Py_SourceAsString()

Move them to the internal C API: add a new pycore_pythonrun.h header
file. No longer export these functions.
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.

2 participants