https://github.com/python/cpython/commit/ae04b6f63640606a3212c9da21b87ebc374136e1 commit: ae04b6f63640606a3212c9da21b87ebc374136e1 branch: 3.13 author: Nadeshiko Manju <[email protected]> committer: Fidget-Spinner <[email protected]> date: 2024-06-20T01:40:48+08:00 summary:
[3.13] gh-120437: Fix `_CHECK_STACK_SPACE` optimization problems introduced in gh-118322 (GH-120712) (#120747) [3.13] gh-120437: Fix `_CHECK_STACK_SPACE` optimization problems introduced in gh-118322 (GH-120712) Signed-off-by: Manjusaka <[email protected]> Co-authored-by: Ken Jin <[email protected]> files: A Misc/NEWS.d/next/Core and Builtins/2024-06-19-01-58-54.gh-issue-120437.nCkIoI.rst M Python/optimizer_bytecodes.c M Python/optimizer_cases.c.h diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-06-19-01-58-54.gh-issue-120437.nCkIoI.rst b/Misc/NEWS.d/next/Core and Builtins/2024-06-19-01-58-54.gh-issue-120437.nCkIoI.rst new file mode 100644 index 00000000000000..8923f3fcefe3c1 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-06-19-01-58-54.gh-issue-120437.nCkIoI.rst @@ -0,0 +1 @@ +Fix ``_CHECK_STACK_SPACE`` optimization problems introduced in :gh:`118322`. diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index 928bc03382b8fb..2d61fa3b8257f4 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -634,7 +634,6 @@ dummy_func(void) { (void)callable; (void)self_or_null; (void)args; - first_valid_check_stack = NULL; goto done; } diff --git a/Python/optimizer_cases.c.h b/Python/optimizer_cases.c.h index 6c2480d4fdfe89..621a48f2fc9105 100644 --- a/Python/optimizer_cases.c.h +++ b/Python/optimizer_cases.c.h @@ -1565,7 +1565,6 @@ (void)callable; (void)self_or_null; (void)args; - first_valid_check_stack = NULL; goto done; stack_pointer[-2 - oparg] = (_Py_UopsSymbol *)new_frame; stack_pointer += -1 - oparg; _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
