Remove comments from find_assignment_target
result
#128742
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
Tools/cases_generator/tier1_generator.py
fails if you place comment beforePyStackRef_FromPyObjectNew
assignment. Example reproducer (bytecodes.c:291-293):Problem is in:
cpython/Tools/cases_generator/analyzer.py
Lines 457 to 460 in 22a4421
as
lhs
may contain leading comments which are ignored during extraction.CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux, macOS, Windows
Linked PRs
find_assignment_target
result #128743The text was updated successfully, but these errors were encountered: