You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Go over history yet again.
This commit is contained in:
37
HISTORY.md
37
HISTORY.md
@@ -60,27 +60,32 @@ the Python scanner, parser, and marshaling routines. For example I
|
|||||||
see a bit code to massage disassembly output to make it more amenable
|
see a bit code to massage disassembly output to make it more amenable
|
||||||
for deparsing. 2005 would put his work around the Python 2.4 releases.
|
for deparsing. 2005 would put his work around the Python 2.4 releases.
|
||||||
|
|
||||||
Next we get to
|
Next we get to ["uncompyle" and
|
||||||
["uncompyle" and PyPI](https://pypi.python.org/pypi/uncompyle/1.1) and
|
PyPI](https://pypi.python.org/pypi/uncompyle/1.1) and the era of
|
||||||
the era of git repositories. In contrast to decompyle, this now runs
|
public version control. In contrast to decompyle, uncompyle at least
|
||||||
only on Python 2.7 although it accepts bytecode back to Python
|
in its final versions, runs only on Python 2.7. However it accepts
|
||||||
2.5. Thomas Grainger is the package owner of this, although Hartmut is
|
bytecode back to Python 2.5. Thomas Grainger is the package owner of
|
||||||
listed as the author.
|
this, although Hartmut is still listed as the author.
|
||||||
|
|
||||||
The project exists not only on
|
The project exists not only on
|
||||||
[github](https://github.com/gstarnberger/uncompyle) but also on
|
[github](https://github.com/gstarnberger/uncompyle) but also on
|
||||||
[bitbucket](https://bitbucket.org/gstarnberger/uncompyle) where the
|
[bitbucket](https://bitbucket.org/gstarnberger/uncompyle) and later
|
||||||
git history goes back to 2009. Somewhere in there the name was changed
|
the defunct [google
|
||||||
from "decompyle" to "uncompyle".
|
code](https://code.google.com/archive/p/unpyc/). The git/svn history
|
||||||
|
goes back to 2009. Somewhere in there the name was changed from
|
||||||
|
"decompyle" "unpyc" by Keknehv and then to "uncompyle" by Guenther Starnberger.
|
||||||
|
|
||||||
The name Thomas Grainger isn't found in (m)any of the commits in the
|
The name Thomas Grainger isn't found in (m)any of the commits in the
|
||||||
several years of active development. Guenther Starnberger, Keknehv,
|
several years of active development. First Keknehv worked on this up
|
||||||
hamled, and Eike Siewertsen are principle committers here.
|
to Python 2.5 or so while acceping Python bytecode back to 2.0 or
|
||||||
|
so. Then hamled made a few commits earler on while Eike Siewertsen
|
||||||
|
made a few commits later on. But mostly wibiti, and Guenther
|
||||||
|
Starnberger got the code to where uncompyle2 was around 2012.
|
||||||
|
|
||||||
This project, uncompyle6, however owes its existence to uncompyle2 by
|
This project, uncompyle6, however owes its existence to the fork of
|
||||||
Myst herie (Mysterie) whose first commit seems to goes back to 2012;
|
uncompyle2 by Myst herie (Mysterie) whose first commit seems to goes
|
||||||
it is also based on Hartmut's code. I chose this as it seems had been
|
back to 2012. I chose this as it seemed to have been the most actively,
|
||||||
the most actively worked on most recently.
|
if briefly, worked on.
|
||||||
|
|
||||||
Over the many years, code styles and Python features have
|
Over the many years, code styles and Python features have
|
||||||
changed. However brilliant the code was and still is, it hasn't really
|
changed. However brilliant the code was and still is, it hasn't really
|
||||||
@@ -95,7 +100,7 @@ Hartmut a decade an a half ago:
|
|||||||
NB. This is not a masterpiece of software, but became more like a hack.
|
NB. This is not a masterpiece of software, but became more like a hack.
|
||||||
Probably a complete rewrite would be sensefull. hG/2000-12-27
|
Probably a complete rewrite would be sensefull. hG/2000-12-27
|
||||||
|
|
||||||
Lastly, I should mention [unpyc](https://code.google.com/p/unpyc3/)
|
Lastly, I should mention [unpyc3](https://code.google.com/p/unpyc3/)
|
||||||
and most especially [pycdc](https://github.com/zrax/pycdc), largely by
|
and most especially [pycdc](https://github.com/zrax/pycdc), largely by
|
||||||
Michael Hansen and Darryl Pogue. If they supported getting source-code
|
Michael Hansen and Darryl Pogue. If they supported getting source-code
|
||||||
fragments and I could call it from Python, I'd probably ditch this and
|
fragments and I could call it from Python, I'd probably ditch this and
|
||||||
|
@@ -110,7 +110,7 @@ def main(in_base, out_base, files, codes, outfile=None,
|
|||||||
outstream = _get_outstream(outfile)
|
outstream = _get_outstream(outfile)
|
||||||
# print(outfile, file=sys.stderr)
|
# print(outfile, file=sys.stderr)
|
||||||
|
|
||||||
# Try to uncmpile the input file
|
# Try to uncompile the input file
|
||||||
try:
|
try:
|
||||||
uncompyle_file(infile, outstream, showasm, showast, showgrammar)
|
uncompyle_file(infile, outstream, showasm, showast, showgrammar)
|
||||||
tot_files += 1
|
tot_files += 1
|
||||||
|
Reference in New Issue
Block a user