python / python/cpython

Syntax highlighting(theming support) for `dis` module

Open
#144,207 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

stdlib type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Feature or enhancement

Proposal:

Syntax highlighting is good addition to improve readability, and the way of giving a context to special parts of output text. Adding it to dis module can be considered as developer experience enhancement.
- From discuss.python.org (my thread on Ideas section)

For more details, you might also refer to forum. Since there are no comments but have some likes (I can think of them like "approvals") I'm opening this issue to propose this enhancement. I'll link my PR into this issue.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

https://discuss.python.org/t/syntax-highlighting-for-dis-module/105833

Linked PRs
  • gh-144208

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the dis module and the linked Discourse discussion to understand the proposed syntax-highlighting and theming behavior. Review PR gh-144208 before doing any work; completion would require an agreed design and implemented highlighting support for dis output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.