py36-xdis-4.0.2.tgz


Advertisement

Description

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

Property Value
Distribution NetBSD 8.0
Repository NetBSD amd64
Package filename py36-xdis-4.0.2.tgz
Package name py36-xdis
Package version 4.0.2
Package release -
Package architecture amd64
Package type tgz
Category devel python
Homepage https://github.com/rocky/python-xdis
License gnu-gpl-v2
Maintainer -
Download size 94.47 KB
Installed size 551.63 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
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.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.

Alternatives

Package Version Architecture Repository
py36-xdis-4.0.2.tgz 4.0.2 i386 NetBSD
py36-xdis - - -

Requires

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

Download

Type URL
Mirror ftp.netbsd.org
Binary Package py36-xdis-4.0.2.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.1.8.tgz Python module for creating Excel XLSX files
py36-xlwt-1.3.0.tgz Writing data and formatting information from Excel files
py36-xopen-0.7.1.tgz Open compressed files transparently
py36-yaml-5.1.1.tgz Collection of libraries to process YAML with Python
py36-yarl-1.3.0.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.4.0.tgz Configuration library
py36-zeep-3.3.1.tgz Fast and modern Python SOAP client
py36-zipp-0.5.1.tgz Backport of pathlib-compatible object wrapper for zip files
py36-zmq-18.0.1.tgz Python bindings for zeromq
py36-zope.deferredimport-4.3.tgz Imports names that will only be resolved when used in the code
py36-zope.deprecation-4.4.0.tgz Zope hookable
py36-zope.exceptions-4.3.tgz Zope testing helpers
Advertisement
Advertisement