-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed as not planned
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
AST optimizer is trying to optimize target of the following statements:
delstatement (del a) - target is a target_list- Assign statement (
a = b) target is a target_list - AugAssign statement (
a += b) target is a augtarget - AnnAssign statement (
a: intora: int = 1) target is a augtarget - TypeAlias statement (
type A = int) target is a identifier - For statement (
for a in b: pass) target is a target_list - Async for statement (
async for a in b: pass) target is a target_list
None of these targets contain anything that can be optimized.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error