# fixhunt regression fixture: ruff RUF051, ruff 0.17.1 # the fix labelled safe changes the program's output on this program # before the fix: stdout "TypeError: unhashable type: 'list'", exit 0 # after the fix: no stdout, exit 0 # finding 2026-10-17T21-46-58-522Z-boj8-ruff-RUF051/r2-p001; rule fired 1 time(s) before the fix lst = [1] dct = {} try: if lst in dct: del dct[lst] except Exception as e: print(f'{type(e).__name__}: {e}')