Skip to content

Display counter value and backoff when disassembling CACHE opcode #128295

Open
@WolframAlph

Description

@WolframAlph

Feature or enhancement

Proposal:

When disassembling code object with --show-caches argument its hard to tell right away what is 1st cache entry (counter) value which is useful while debugging. Proposing to add this info to the disassembly of this opcode.

Example:
Instead of current disassembly:

CACHE     0 (counter: 99)

display:

CACHE     0 (counter: 99 (value: 6, backoff: 3))

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    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