# Crash report I can trigger a crash of the 3.12 interpreter using the following Python instruction: ```python compile("assert (False if 1 else True)", "<string>", "exec") ``` # Error messages The full output when running locally-built cpython with debug assertions avoids a segfault, triggering an assertion instead: ```python $ ./python Python 3.12.0a2+ (heads/main:f1a4a6a587, Nov 22 2022, 22:12:33) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> compile("assert (False if 1 else True)", "<string>", "exec") python: Python/compile.c:8703: remove_redundant_jumps: Assertion `no_empty_basic_blocks(g)' failed. Aborted ``` # Your environment I originally encountered the segmentation fault on macOS with 3.12.0a1. I have reproduced it above with f1a4a6a587 on ubuntu (inside WSL). <!-- gh-linked-prs --> ### Linked PRs * gh-99732 <!-- /gh-linked-prs -->