No test fails if I remove the symtable code that modifies the symtable for an inlined comprehension: https://github.com/python/cpython/pull/122557 I don't know whether this step is necessary. Would suggest we find a test covering it or remove it. <!-- gh-linked-prs --> ### Linked PRs * gh-122582 <!-- /gh-linked-prs -->