You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
pythongh-131507: Refactor screen and cursor position calculations
pythongh-131507: Refactor screen and cursor position calculations
pythongh-131507: Refactor screen and cursor position calculations
gh-131507: Clean up tests and type checking for `_pyrepl` (#131509)
[3.13] pythongh-131507: Clean up tests and type checking for `_pyrepl` (
pythongh-131507: Refactor screen and cursor position calculations
[3.13] gh-131507: Clean up tests and type checking for `_pyrepl` (GH-…
gh-131507: Refactor screen and cursor position calculations (GH-131547)
pythongh-131507: Refactor screen and cursor position calculations (py…
pythongh-131507: Add support for syntax highlighting in PyREPL
[3.13] gh-131507: Refactor screen and cursor position calculations (G…
gh-131507: Add a way to recreate the `Misc/mypy` symlinks if missing (#…
pythongh-131507: Add a way to recreate the `Misc/mypy` symlinks if mi…
[3.13] gh-131507: Add a way to recreate the `Misc/mypy` symlinks if m…
pythongh-131507: Add support for syntax highlighting in PyREPL
gh-131507: Add support for syntax highlighting in PyREPL (GH-133247)
StanFromIreland commentedon Jun 6, 2025
What do we think about adding color to
pydoc's repl interface? At a minimum that could be highlightingquit/helpetc. in their respective color...?pythongh-131507: Add support for syntax highlighting in PyREPL (pytho…