mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-128914: Remove conditional stack effects from bytecodes.c
and the code generators (GH-128918)
This commit is contained in:
parent
0a6412f9cc
commit
ab61d3f430
44 changed files with 1460 additions and 1679 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_ATTR", line=4, end_line=4, column=5, end_column=8
|
||||
code, "LOAD_METHOD", 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