mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Revert "GH-128914: Remove conditional stack effects from bytecodes.c
and the code generators (GH-128918)" (GH-129202)
The commit introduced a ~2.5-3% regression in the free threading build.
This reverts commit ab61d3f430
.
This commit is contained in:
parent
d7d066c3ab
commit
a10f99375e
44 changed files with 1679 additions and 1460 deletions
|
@ -2157,7 +2157,7 @@ class TestSourcePositions(unittest.TestCase):
|
|||
source = "(\n lhs \n . \n rhs \n )()"
|
||||
code = compile(source, "<test>", "exec")
|
||||
self.assertOpcodeSourcePositionIs(
|
||||
code, "LOAD_METHOD", line=4, end_line=4, column=5, end_column=8
|
||||
code, "LOAD_ATTR", line=4, end_line=4, column=5, end_column=8
|
||||
)
|
||||
self.assertOpcodeSourcePositionIs(
|
||||
code, "CALL", line=4, end_line=5, column=5, end_column=10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue