gh-106320: Remove private pythonrun API (#108599)
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.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "pycore_pathconfig.h" // _PyPathConfig_ComputeSysPath0()
|
||||
#include "pycore_pylifecycle.h" // _Py_PreInitializeFromPyArgv()
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
#include "pycore_pythonrun.h" // _PyRun_AnyFileObject()
|
||||
|
||||
/* Includes for exit_sigint() */
|
||||
#include <stdio.h> // perror()
|
||||
|
||||
Reference in New Issue
Block a user