ANSI escape color codes, e.g.
"\u001b[31m", are incorrectly printed in the Python REPL,
inferior python mode. They are correctly printed in VTerm, where they are displayed the same as when printed in the terminal of my operating system.
I have tried changing
ansi-color-names-vector, but whatever changes I make to it, it makes no difference.
I have tried changing the emacs theme, but it makes no difference.
To the left: ANSI colors correctly displayed in vterm.
I suppose that 256-bit color support might a different issue than the colors being displayed incorrectly. Just correcting the colors would help a lot, though 256-bit support would be nice too.