Skip to content

Commit 6bed916

Browse files
committed
Check the recursion limit for specialized kwarg calls.
1 parent 5c0231c commit 6bed916

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4721,6 +4721,7 @@ dummy_func(
47214721
unused/1 + // Skip over the counter
47224722
_CHECK_PEP_523 +
47234723
_CHECK_FUNCTION_VERSION_KW +
4724+
_CHECK_RECURSION_REMAINING +
47244725
_PY_FRAME_KW +
47254726
_SAVE_RETURN_OFFSET +
47264727
_PUSH_FRAME;

Python/generated_cases.c.h

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)