-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Syntax highlighting in PyREPL #131507
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-featureA feature request or enhancementA feature request or enhancement
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