[Bug] Claude frequently misuses parameter labels in Python code, wasting tokens on corrections

Resolved 💬 3 comments Opened Nov 22, 2025 by shiong-tan Closed Jan 21, 2026

Bug Description
[Observation: Claude doesn't pay enough attention to labels when operating in python, more often than not it is wasting tokens because it is incorrectly using parameter labels. I am working 10+ hours per day with Claude, and that is the constant "bug" I am experiencing. I think it needs to create a list of parameters/labels, and update it, but perhaps too much overhead? That being said, it is a overall a great experience (I use Codex and Gemini CLI side by side)]

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.49
  • Feedback ID: 6ffbee9c-f3e2-4eb8-bbc1-690668b5d495

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at EuB (/$bunfs/root/claude:1768:3696)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"2025-11-22T02:36:44.638Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at EuB (/$bunfs/root/claude:1768:3696)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"2025-11-22T02:36:44.638Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at EuB (/$bunfs/root/claude:1768:3696)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"2025-11-22T02:36:44.639Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at juB (/$bunfs/root/claude:1787:17102)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"2025-11-22T02:36:44.641Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at juB (/$bunfs/root/claude:1787:17102)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"2025-11-22T02:36:44.641Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at juB (/$bunfs/root/claude:1787:17102)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"2025-11-22T02:36:44.641Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NQ (/$bunfs/root/claude:1055:4471)\n    at <anonymous> (/$bunfs/root/claude:1055:4193)\n    at map (native:1:11)\n    at zJ (/$bunfs/root/claude:1055:4185)\n    at juB (/$bunfs/root/claude:1787:17102)\n    at N7 (/$bunfs/root/claude:102:19666)\n    at EI (/$bunfs/root/claude:104:42843)\n    at TU (/$bunfs/root/claude:104:38376)\n    at TD (/$bunfs/root/claude:104:38304)\n    at kq (/$bunfs/root/claude:104:38158)","timestamp":"202

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗