Currently, the REPL auto indentation is like this:
The correct one should be:
I am working on a PR to fix this.
CPython main branch
macOS
This is also incorrect when "#" happens to be the last non-whitespace character.
Another #124096
That was fixed in GH-123196.
Activity
HarryLHW commented on Jul 24, 2024
This is also incorrect when "#" happens to be the last non-whitespace character.

Wulian233 commented on Sep 15, 2024
Another #124096
ambv commented on Oct 23, 2024
That was fixed in GH-123196.