./lang/py-uncompyle6, Python cross-version byte-code decompiler

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.9.2, Package name: py312-uncompyle6-3.9.2, Maintainer: pkgsrc-users

A native Python cross-version decompiler and fragment decompiler. The successor
to decompyle, uncompyle, and uncompyle2.

uncompyle6 translates Python bytecode back into equivalent Python source code.
It accepts bytecodes from Python version 1.3 to version 3.7, spanning over 22
years of Python releases. We include Dropbox's Python 2.5 bytecode and some
PyPy bytecode.


Required to run:
[devel/py-setuptools] [lang/python37] [lang/py-spark-parser] [devel/py-xdis]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 2441.426 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-23 08:15:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-uncompyle6: updated to 3.9.1

3.9.1

Lots of changes major changes. track xdis API has changes.

Separate Phases more clearly:

disassembly
tokenization
parsing
abstracting to AST (more is done in newer projects)
printing
Although we do not decompile bytecode greater than 3.8, code supports running \ 
from up to 3.12.

Many bugs fixed.

A lot of Linting and coding style modernization.

Work done in preparation for Blackhat Asia 2024
   2023-11-05 12:49:51 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-uncompyle6: no support for Python 3.12 yet
   2023-01-16 10:27:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-uncompyle6: updated to 3.9.0

3.9.0: 2022-12-22
=================
* deparse generator expressions for Python 3.0 .. 3.2
* Python 3.0 list comprehension.
* Fix Issues
* Limited support for 3.8+ f-string "=" specifier
* Correct 2.5-7 relative import formatting
* Miscellaneous bug fixing
* remove \n in lambda
* Python 2.6 gramar cleanup
* Correct some Python 2.6 chain compare decompilation
* Ensure no parenthesis subscript slices
* Correct 2.x formatting "slice2" nonterminal
* Correct 3.7 imports
* Improve "async for" parsing
* Handle BUILD_MAP opcode
* match Python AT better
* Correct 3.7 positional args
* PyPy 3.7 and PyPy 3.8 support
* Miscellaneous linting, isorting, blacking
   2022-11-15 09:44:46 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-uncompyle6: does not support python 3.11
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-17 01:15:47 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-xdis: does not build with python 2.7, mark it so

Also mark packages using it that way.
   2021-10-31 09:44:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-uncompyle6: updated to 3.8.0

3.8.0: 2020-10-29
=================

* Better handling of invalid bytecode magic
* Support running from 3.9 and 3.10 although we do not support those bytecodes
* Redo version comparisons using tuples instead of floats. This is needed for \ 
Python 3.10
* Split out into 3 branches so that the master branch can assume Python 3.6+ \ 
conventions, especially type annotations
* Source Fragment fixes
* Lambda-bug fixes 360
* Bug fixes