diff options
author | Victor Stinner <vstinner@python.org> | 2024-06-26 11:54:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 11:54:03 (GMT) |
commit | 9e4a81f00fef689c6e18a64245aa064eaadc7ac7 (patch) | |
tree | a0e7efaf59d8bb90911830b230909659b1176904 /Include/Python.h | |
parent | 9e45fd9858a059950f7387b4fda2b00df0e8e537 (diff) | |
download | cpython-9e4a81f00fef689c6e18a64245aa064eaadc7ac7.zip cpython-9e4a81f00fef689c6e18a64245aa064eaadc7ac7.tar.gz cpython-9e4a81f00fef689c6e18a64245aa064eaadc7ac7.tar.bz2 |
gh-120642: Move private PyCode APIs to the internal C API (#120643)
* Move _Py_CODEUNIT and related functions to pycore_code.h.
* Move _Py_BackoffCounter to pycore_backoff.h.
* Move Include/cpython/optimizer.h content to pycore_optimizer.h.
* Remove Include/cpython/optimizer.h.
* Remove PyUnstable_Replace_Executor().
Rename functions:
* PyUnstable_GetExecutor() => _Py_GetExecutor()
* PyUnstable_GetOptimizer() => _Py_GetOptimizer()
* PyUnstable_SetOptimizer() => _Py_SetTier2Optimizer()
* PyUnstable_Optimizer_NewCounter() => _PyOptimizer_NewCounter()
* PyUnstable_Optimizer_NewUOpOptimizer() => _PyOptimizer_NewUOpOptimizer()
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h index d4a254f..8fffa22 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -132,6 +132,5 @@ #include "fileutils.h" #include "cpython/pyfpe.h" #include "cpython/tracemalloc.h" -#include "cpython/optimizer.h" #endif /* !Py_PYTHON_H */ |