Run #4285 hit: Traceback (most recent call last): File "<stdin>", line 26, in <module> ValueError: seek of closed file iter37's Python heredoc had the search/seek/write loop OUTSIDE the `with open(...) as f:` block — the file closes when the `with` body finishes, and `data = f.read()` was the only statement inside it. Indent the loop inside the with-suite. No semantic changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 KiB
Executable File
19 KiB
Executable File