Skip to content

Commit 76001f7

Browse files
committed
_PyLong_Add/Multiply/Subtract can escape for large numbers
1 parent 885ffe8 commit 76001f7

File tree

6 files changed

+30
-15
lines changed

6 files changed

+30
-15
lines changed

Include/internal/pycore_opcode_metadata.h

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

Include/internal/pycore_uop_metadata.h

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

Python/executor_cases.c.h

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

Python/generated_cases.c.h

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

Python/optimizer_cases.c.h

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

Tools/cases_generator/analyzer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -631,15 +631,12 @@ def has_error_without_pop(op: parser.CodeDef) -> bool:
631631
"_PyList_AppendTakeRef",
632632
"_PyList_FromStackRefStealOnSuccess",
633633
"_PyList_ITEMS",
634-
"_PyLong_Add",
635634
"_PyLong_CompactValue",
636635
"_PyLong_DigitCount",
637636
"_PyLong_IsCompact",
638637
"_PyLong_IsNegative",
639638
"_PyLong_IsNonNegativeCompact",
640639
"_PyLong_IsZero",
641-
"_PyLong_Multiply",
642-
"_PyLong_Subtract",
643640
"_PyManagedDictPointer_IsValues",
644641
"_PyObject_GC_IS_TRACKED",
645642
"_PyObject_GC_MAY_BE_TRACKED",

0 commit comments

Comments
 (0)