◐ Shell
clean mode source ↗

gh-106320: Remove private _PyEval function by vstinner · Pull Request #108433 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@vstinner

@vstinner vstinner commented

Aug 24, 2023

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

Move private _PyEval functions to the internal C API (pycore_ceval.h):

  • _PyEval_GetBuiltin()
  • _PyEval_GetBuiltinId()
  • _PyEval_GetSwitchInterval()
  • _PyEval_MakePendingCalls()
  • _PyEval_SetProfile()
  • _PyEval_SetSwitchInterval()
  • _PyEval_SetTrace()

No longer export most of these functions.

Move private _PyEval functions to the internal C API
(pycore_ceval.h):

* _PyEval_GetBuiltin()
* _PyEval_GetBuiltinId()
* _PyEval_GetSwitchInterval()
* _PyEval_MakePendingCalls()
* _PyEval_SetProfile()
* _PyEval_SetSwitchInterval()
* _PyEval_SetTrace()

No longer export most of these functions.

@vstinner vstinner merged commit c494fb3 into python:main

Aug 24, 2023

@vstinner vstinner deleted the pycore_ceval branch

August 24, 2023 18:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rhettinger rhettinger Awaiting requested review from rhettinger rhettinger is a code owner

@methane methane Awaiting requested review from methane methane is a code owner

@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner @bedevere-bot