Skip to content

Allow to show specialized bytecode via dis CLI #127413

Closed
@picnixz

Description

@picnixz

Feature or enhancement

Proposal:

It's already possible to show specialized bytecode using dis.dis(code, adaptive=True) but it's not possible to do it from the CLI. I think we can add a flag -S that does it (most of the other flags are exposed to the CLI).

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions