Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A decompiler for CPython bytecode
Python
Branch: master

clarify

latest commit 6cad9c3c2b
@alex authored
Failed to load latest commit information.
.gitignore
README.rst
decompile.py
test_decompile.py

README.rst

Python Decompiler

This project aims to create a comprehensive decompiler for CPython bytecode (likely works with PyPy as well, and any other Python implementation that uses CPython's bytecode). At the moment it is relatively incomplete, with many things not supported, including, but certainly not limited to:

  • Unpacking
  • try/except/finally
  • else clauses on try/for loops
  • any sort of arithmatic
  • keyword argument and *args, **kwargs to functions

I'm taking patches, but I suspect at least some of those will require refactorings and I've grown a tad too bored to do it myself.

Something went wrong with that request. Please try again.