py36-xdis - Python cross-version byte-code disassembler and marshal routines

Property Value
Distribution NetBSD 8.1
Repository NetBSD i386
Package filename py36-xdis-4.2.0.tgz
Package name py36-xdis
Package version 4.2.0
Package release -
Package architecture i386
Package type tgz
Category devel python
License gnu-gpl-v2
Maintainer -
Download size 100.52 KB
Installed size 607.43 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.sys_info major, minor,
and release numbers to the corresponding magic value.
So If you want to write a cross-version assembler, or a 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.2.0.tgz 4.2.0 amd64 NetBSD
py36-xdis - - -


Name Value
py36-click -
py36-setuptools >= 0.8
py36-six >= 1.10.0
python36 >= 3.6.0


Type URL
Binary Package py36-xdis-4.2.0.tgz
Source Package py36-xdis

Install Howto

Install py36-xdis tgz package:

# pkg_add py36-xdis

See Also

Package Description
py36-xlrd-1.2.0.tgz Python library to extract data from Microsoft Excel spreadsheet files
py36-xlsxwriter-1.2.6.tgz Python module for creating Excel XLSX files
py36-xlwt-1.3.0.tgz Writing data and formatting information from Excel files
py36-xmltodict-0.12.0.tgz Simplified XML parser library
py36-xopen-0.8.4.tgz Open compressed files transparently
py36-yaml-5.2.tgz Collection of libraries to process YAML with Python
py36-yarl-1.4.2.tgz Yet another URL library
py36-yuicompressor-2.4.8.tgz YUI Compressor packaged for Python
py36-zc.lockfile-1.3.0.tgz Basic inter-process locks
py36-zconfig-3.5.0.tgz Configuration library
py36-zeep-3.3.1.tgz Fast and modern Python SOAP client
py36-zipp-0.6.0.tgz Backport of pathlib-compatible object wrapper for zip files
py36-zipstream-1.1.4.tgz Zipfile generator
py36-zmq-18.1.1.tgz Python bindings for zeromq
py36-zope.deferredimport-4.3.tgz Imports names that will only be resolved when used in the code