We want PyREPL to syntax highlight Python code, like this:

Theming support is planned, but a separate concern. This issue is about enabling syntax to highlight correctly whenever color is used within the REPL anyway.
This is a feature for 3.14, with some test and code refactors that we will be bringing back to 3.13 for improved future maintenance.
Linked PRs
We want PyREPL to syntax highlight Python code, like this:

Theming support is planned, but a separate concern. This issue is about enabling syntax to highlight correctly whenever color is used within the REPL anyway.
This is a feature for 3.14, with some test and code refactors that we will be bringing back to 3.13 for improved future maintenance.
Linked PRs
_pyrepl#131509_pyrepl(GH-131509) #131546Misc/mypysymlinks if missing #132274Misc/mypysymlinks if missing (GH-132274) #132293