diff options
author | Victor Stinner <vstinner@python.org> | 2024-06-26 13:35:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 13:35:19 (GMT) |
commit | e26e0985d94f1b9812cf41f043df89185f247945 (patch) | |
tree | 822ec897f9914e88f83e7d2821bcb0d45ce2a275 /PCbuild | |
parent | 6bc7e2cca546c11e2b807068a4a612d0d902da11 (diff) | |
download | cpython-e26e0985d94f1b9812cf41f043df89185f247945.zip cpython-e26e0985d94f1b9812cf41f043df89185f247945.tar.gz cpython-e26e0985d94f1b9812cf41f043df89185f247945.tar.bz2 |
[3.13] gh-120642: Move private PyCode APIs to the internal C API (#120643) (#121043)
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()
(cherry picked from commit 9e4a81f00fef689c6e18a64245aa064eaadc7ac7)
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 1 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 6edcef7..33ab50f 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -166,7 +166,6 @@ <ClInclude Include="..\Include\cpython\object.h" /> <ClInclude Include="..\Include\cpython\objimpl.h" /> <ClInclude Include="..\Include\cpython\odictobject.h" /> - <ClInclude Include="..\Include\cpython\optimizer.h" /> <ClInclude Include="..\Include\cpython\parser_interface.h" /> <ClInclude Include="..\Include\cpython\picklebufobject.h" /> <ClInclude Include="..\Include\cpython\pyarena.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index 824648e..828f14d 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -417,9 +417,6 @@ <ClInclude Include="..\Include\cpython\odictobject.h"> <Filter>Include</Filter> </ClInclude> - <ClInclude Include="..\Include\cpython\optimizer.h"> - <Filter>Include</Filter> - </ClInclude> <ClInclude Include="..\Include\cpython\unicodeobject.h"> <Filter>Include\cpython</Filter> </ClInclude> |