# fixhunt regression fixture: ruff PLR1733, ruff 0.17.1 # the fix labelled safe changes the program's output on this program # before the fix: stdout "GET a", exit 0 # after the fix: no stdout, exit 0 # finding 2026-10-17T21-02-04-500Z-1p30-ruff-PLR1733/r1-p006; rule fired 1 time(s) before the fix class LogDict(dict): def __getitem__(self, key): print(f'GET {key}') d = LogDict({'a': 1}) for k, v in d.items(): _ = d[k] # triggers PLR1733: logs again; fix would omit log