Skip to main content

Python cross-version byte-code disassembler and marshal routines

Project description



Cross-Python bytecode Disassembler and Marshal routines


The Python dis module allows you to disassemble bytecode from the same version of Python that you are running on. But what about bytecode from different versions?

That’s what this package is for. It can marshal load Python bytecodes from different versions of Python. The command-line routine pydisasm will show disassembly output using Python 3.5 disassembly conventions

It accepts bytecodes from Python version 2.2 to 3.6 or so. The code requires Python 2.5 or later and has been tested on Python running versions 2.6, 2.7, pypy-5.0.1, 3.2, 3.3, 3.4, 3.5 and 3.6.


This uses, so it follows the standard Python routine:

pip install -r requirements.txt
pip install -r requirements-dev.txt
python install # may need sudo
# or if you have pyenv:
python develop

A GNU makefile is also provided so make install (possibly as root or sudo) will do the steps above.


make check

A GNU makefile has been added to smooth over setting running the right command, and running tests from fastest to slowest.

If you have remake installed, you can see the list of all tasks including tests via remake --tasks



./bin/pydisasm -h

for usage help.

See Also

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
xdis-2.3.2-py2.py3-none-any.whl (61.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3
xdis-2.3.2-py3.4.egg (135.4 kB) Copy SHA256 hash SHA256 Egg 3.4
xdis-2.3.2.tar.gz (80.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page