Title: Syntax highlighting in PyREPL · Issue #131507 · python/cpython · GitHub
Open Graph Title: Syntax highlighting in PyREPL · Issue #131507 · python/cpython
X Title: Syntax highlighting in PyREPL · Issue #131507 · python/cpython
Description: 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 fo...
Open Graph Description: 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 with...
X Description: 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 with...
Opengraph URL: https://github.com/python/cpython/issues/131507
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Syntax highlighting in PyREPL","articleBody":"We want PyREPL to syntax highlight Python code, like this:\n\u003cimg width=\"796\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5bb47d56-2e80-4a9f-92c8-173f2836f4fb\" /\u003e\n\nTheming support is planned, but a separate concern. This issue is about enabling syntax to highlight correctly whenever color is used within the REPL anyway.\n\nThis 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.\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-131509\n* gh-131546\n* gh-131547\n* gh-131557\n* gh-131562\n* gh-132270\n* gh-132274\n* gh-132293\n* gh-133247\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ambv","@type":"Person","name":"ambv"},"datePublished":"2025-03-20T14:11:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/131507/cpython/issues/131507"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e3ad1781-7814-fbe1-cdfc-3d815bc79f9b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5A8:36D9CC:969C9D:CFA79B:696A8355 |
| html-safe-nonce | 35d89596e07c90f0513cb6f177222aff2bbb0fb420e8ec686551a5a8c868761b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUE4OjM2RDlDQzo5NjlDOUQ6Q0ZBNzlCOjY5NkE4MzU1IiwidmlzaXRvcl9pZCI6IjY2MzM4MDY5MTU5NTcyMzYwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e822d591780a640592e3c7f4e79f4745ebda2751803521e0c1bb86e048d81ef7 |
| hovercard-subject-tag | issue:2935638546 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/131507/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d5ff4ec323882eaf1c56dbd694ae69412f93e3e7fb208d4a538e868085359690/python/cpython/issues/131507 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d5ff4ec323882eaf1c56dbd694ae69412f93e3e7fb208d4a538e868085359690/python/cpython/issues/131507 |
| og:image:alt | 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 with... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ambv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width