Generated coverPython 3.7–3.8 decompiler
decompyle3: Reworked from uncompyle6 for Python 3.7 and 3.8 bytecode
Category: Developer & security tools · Type: Analysis tool
Target: Python 3.7–3.8 (and some PyPy 3.7/3.8) bytecode · Python
A Python decompiler, reworked from uncompyle6 by the same author, that translates Python 3.7 and 3.8 bytecode (including some PyPy 3.7/3.8 bytecode) back into equivalent Python source; older bytecode is left to uncompyle6. It disassembles code objects with the companion xdis library, then tokenizes and parses the instruction stream with a refactored grammar into a tree from which source is printed. It can decompile between given start and stop offsets or, through decompyle3-code, only a file’s lambdas, generators and comprehensions.
Relationship
Independent reimplementation
Evidence scope
Upstream README describes decompyle3 as a reworking of uncompyle6 focused on Python 3.7–3.8 (and some PyPy 3.7/3.8) bytecode, using xdis to disassemble code objects and a refactored grammar to print source. It notes that the grammar rewrite does not by itself fix uncompyle6’s long-standing control-flow problem, which the author is addressing in a separate, non-public project. No REA involvement is claimed.
Know before you try
The README is explicit that older bytecode belongs with uncompyle6, and that a long-standing control-flow limitation is still being addressed outside this public tree. Capability claims are upstream’s. We have not independently tested it.
Status
Active (default branch master); tip 2026-07-21
License
GPL-3.0
GPL-3.0 covers this project. The decompiler works on user-supplied bytecode; it does not ship target programs. Decompiled programs stay under their owners’ terms.
Source checked