Python bytecode tools
Project description
PyDis
Pydis is a python disassembler, it can be a replacement for cpython's
Lib/dis.py
.
Pydis supports all the cpython versions above 2.5, every verion above 2.5 supports other versions. This means, pydis decodes 2.6 bytes code in 3.6 and vice versa.
Why Pydis?
Python's dis
moduel is super helpful for looking inside code objects, but it
won't support other python versions. If the code object is created through
python 3.5
and try to disassemble with python3.6
, it won't work.
Each python version gets changes to opcodes, there will be ne ones added and few are deleted. Unless you recreate the code object with new python version, the same code object can't be interpreted with old versions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bytecode_tools-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6de54db60b99aa1ca0356e73cd32fd1de5e481e8129e519d8b12f4e75791aa26 |
|
MD5 | 4d61fd7ec9c632ceb4d2d786307dbe80 |
|
BLAKE2b-256 | e686e4ca2509e9f2d1270a6f08202750595916b2da7561762beee5d1123e53c2 |