4 people reported

All time, since Sep 18, including 2 thumbs-up on GitHub.

Python used instead of Edit tool

“CC keeps using Python to edit files instead of using the edit file tool.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/17259/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Edits files via Python in Bash instead of Edit tool. Claude runs python - << 'EOF' through Bash to read and edit files, errors occur, then it self-corrects with the Read and Edit tools.

Is this your bug?

File my report
Where
Bash tool
Error text
/usr/bin/bash: -c: line 189: unexpected EOF while looking for matching `''
Versions
2.1.275 to 2.1.278
Platforms
macOS, Windows
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. On Windows, CLaude Code always like to use python - << 'EOF' to edit files.#95672
  2. Claude Code prefers Python execution over built-in file edit tool#95286

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.