py36-xdis - Cross-Python bytecode Disassembler and Marshal routines

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly i386
Package filename py36-xdis-4.0.3.txz
Package name py36-xdis
Package version 4.0.3
Package release -
Package architecture i386
Package type txz
Category devel python
License GPLv2+
Download size 100.66 KB
Installed size 588.26 KB
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
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.6 disassembly conventions.
Also, if you need to modfiy and write bytecode, the routines here can be of
help. There are routines to pack and unpack the read-only tuples in Python's
Code type. For interoperability between Python 2 and 3 we provide our own
versions of the Code type, and we provide routines to reduce the tedium in
writing a bytecode file.
This package also has an extensive knowledge of Python bytecode magic numbers,
including Pypy and others, and how to translate from sys_info major, minor, and
release numbers to the corresponding magic value.
So If you want to write a cross-version assembler, or an bytecode-level
optimizer this package may also be useful. In addition to the kinds of
instruction categorization that dis offers, we have additional categories for
things that would be useful in such a bytecode optimizer.


Package Version Architecture Repository
py36-xdis-4.0.4.txz 4.0.4 i386 FreeBSD Ports Latest
py36-xdis-4.0.4.txz 4.0.4 amd64 FreeBSD Ports Latest
py36-xdis-4.0.3.txz 4.0.3 amd64 FreeBSD Ports Quarterly
py36-xdis - - -


Name Value
py36-click = 7.0
py36-setuptools = 41.2.0
py36-six = 1.12.0
python36 = 3.6.9


Type URL
Binary Package py36-xdis-4.0.3.txz
Source Package devel/py-xdis

Install Howto

Install py36-xdis txz package:

# pkg install py36-xdis

See Also

Package Description
py36-xdot-1.1.txz Interactive viewer for Graphviz dot files
py36-xenaPython-1.0.10.txz API for Xena Hub to access genetic information shared through the hub
py36-xerox-0.4.1.txz Simple copy and paste in Python
py36-xhtml2pdf-0.2.3_1.txz PDF generator using HTML and CSS
py36-xist-5.34.txz XML-based extensible HTML generator
py36-xlib-0.25.txz X11 library for Python
py36-xlrd-1.2.0_1.txz Reading data and formatting information from Excel files
py36-xlwt-1.3.0.txz Writing data and formatting information from Excel files
py36-xml-default-dict-0.3.txz Python scripts to convert xml data into a defaultdict
py36-xmldiff-2.3.txz Creates diffs of XML files
py36-xmlsec-1.3.6.txz Python bindings for XML Security Library
py36-xmltodict-0.12.0.txz XML parser that returns python dictionaries
py36-xmodem-0.4.5.txz XMODEM protocol implementation
py36-xonsh-0.7.9.txz Python-ish BASH-wards shell
py36-xopen-0.8.2.txz Open compressed files transparently