### Crash report I found the following bug with fuzzing ```python import ast source = """\ while x: break else: try: pass finally: pass lambda: 0 """ tree = ast.parse(source) # Compiles normally with the parser's original locations. compile(tree, '<parsed AST>', 'exec') # Generated ASTs commonly give every node the same source location. for node in ast.walk(tree): if hasattr(node, 'lineno'): node.lineno = node.end_lineno = 1 compile(tree, '<generated AST>', 'exec') print('Compiled successfully') ``` output python 3.15.2: ``` > uv run -p 3.15.2 /tmp/codegen-cpython-assertion.py python: Python/flowgraph.c:2846: load_fast_push_block: Assertion `target->b_startdepth >= 0 && target->b_startdepth == start_depth' failed. ``` I bisected it down to e05182f98ea100b6e26796a76b1399237aeac22f (@DinoV) ### CPython versions tested on: 3.15 ### Operating systems tested on: Linux ### Output from running 'python -VV' on the command line: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-163027 <!-- /gh-linked-prs -->
Activity