-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Remove _PyCompile_IsNestedScope
roll it into _PyCompile_IsInteractive
#124058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
Comments
iritkatriel
added a commit
to iritkatriel/cpython
that referenced
this issue
Sep 13, 2024
iritkatriel
added a commit
to iritkatriel/cpython
that referenced
this issue
Sep 13, 2024
_PyCompile_IsInteractive
and _PyCompile_IsNestedScope
_PyCompile_IsNestedScope
roll it into _PyCompile_IsInteractive
and ``
The original plan turnout out too complicated. Instead I'll remove |
iritkatriel
added a commit
to iritkatriel/cpython
that referenced
this issue
Sep 14, 2024
This reverts commit cebdf71.
iritkatriel
added a commit
to iritkatriel/cpython
that referenced
this issue
Sep 14, 2024
…pile_IsInteractive
_PyCompile_IsNestedScope
roll it into _PyCompile_IsInteractive
and ``_PyCompile_IsNestedScope
roll it into _PyCompile_IsInteractive
JelleZijlstra
pushed a commit
that referenced
this issue
Sep 16, 2024
savannahostrowski
pushed a commit
to savannahostrowski/cpython
that referenced
this issue
Sep 22, 2024
…pile_IsInteractive (python#124061)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently the
c_interactive
field is used in only one place - to special-case the code generation of interactive statements. We can move this special case fromcodegen_stmt_expr
to_PyCodegen_Body
(where there is theis_interactive
arg) and then we no longer needc_interactive
, its accessor function _PyCompile_IsInteractive, and the_PyCompile_IsNestedScope
function.Linked PRs
The text was updated successfully, but these errors were encountered: