FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-120642: Move private PyCode APIs to the internal C API (#120643) by vstinner · Pull Request #121043 · python/cpython · GitHub

/ cpython Public

[3.13] gh-120642: Move private PyCode APIs to the internal C API (#120643) - #121043

Merged
vstinner merged 1 commit into
python:3.13from
vstinner:internal_code13
Jun 26, 2024
Merged

[3.13] gh-120642: Move private PyCode APIs to the internal C API (#120643)#121043
vstinner merged 1 commit into
python:3.13from
vstinner:internal_code13

Conversation

vstinner commented Jun 26, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member
  • 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 9e4a81f)

…on#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 9e4a81f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL