Skip to content

./rustpython -m dis: No code object available for dis #2889

Closed
@frank-king

Description

@frank-king

Feature

dis: Disassembler for Python bytecode.

I want to should compiled bytecode for a .py script, and I got this error:

$ ./rustpython -m dis xxx.py
./rustpython: No code object available for dis

In cpython, most of the std module will be pre-compiled during build.

Python Documentation

https://docs.python.org/3.8/library/dis.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions