You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Another small tweak
This commit is contained in:
31
README.rst
31
README.rst
@@ -93,8 +93,8 @@ This uses setup.py, so it follows the standard Python routine:
|
|||||||
A GNU makefile is also provided so :code:`make install` (possibly as root or
|
A GNU makefile is also provided so :code:`make install` (possibly as root or
|
||||||
sudo) will do the steps above.
|
sudo) will do the steps above.
|
||||||
|
|
||||||
Testing
|
Running Tests
|
||||||
-------
|
-------------
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@@ -133,18 +133,8 @@ You can also cross compare the results with pycdc_ . Since they work
|
|||||||
differently, bugs here often aren't in that, and vice versa.
|
differently, bugs here often aren't in that, and vice versa.
|
||||||
|
|
||||||
|
|
||||||
Known Bugs/Restrictions
|
Verification
|
||||||
-----------------------
|
------------
|
||||||
|
|
||||||
The biggest known and possibly fixable (but hard) problem has to do
|
|
||||||
with handling control flow. (Python has probably the most diverse and
|
|
||||||
screwy set of compound statements I've ever seen; there
|
|
||||||
are "else" clauses on loops and try blocks that I suspect many
|
|
||||||
programmers don't know about.)
|
|
||||||
|
|
||||||
All of the Python decompilers that I have looked at have problems
|
|
||||||
decompiling Python's control flow. In some cases we can detect an
|
|
||||||
erroneous decompilation and report that.
|
|
||||||
|
|
||||||
In older versions of Python it was possible to verify bytecode by
|
In older versions of Python it was possible to verify bytecode by
|
||||||
decompiling bytecode, and then compiling using the Python interpreter
|
decompiling bytecode, and then compiling using the Python interpreter
|
||||||
@@ -167,6 +157,19 @@ And already Python has a set of programs like this: the test suite
|
|||||||
for the standard library that comes with Python. We have some
|
for the standard library that comes with Python. We have some
|
||||||
code in `test/stdlib` to facilitate this kind of checking.
|
code in `test/stdlib` to facilitate this kind of checking.
|
||||||
|
|
||||||
|
Known Bugs/Restrictions
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
The biggest known and possibly fixable (but hard) problem has to do
|
||||||
|
with handling control flow. (Python has probably the most diverse and
|
||||||
|
screwy set of compound statements I've ever seen; there
|
||||||
|
are "else" clauses on loops and try blocks that I suspect many
|
||||||
|
programmers don't know about.)
|
||||||
|
|
||||||
|
All of the Python decompilers that I have looked at have problems
|
||||||
|
decompiling Python's control flow. In some cases we can detect an
|
||||||
|
erroneous decompilation and report that.
|
||||||
|
|
||||||
Python support is strongest in Python 2 for 2.7 and drops off as you
|
Python support is strongest in Python 2 for 2.7 and drops off as you
|
||||||
get further away from that. Support is also probably pretty good for
|
get further away from that. Support is also probably pretty good for
|
||||||
python 2.3-2.4 since a lot of the goodness of early the version of the
|
python 2.3-2.4 since a lot of the goodness of early the version of the
|
||||||
|
Reference in New Issue
Block a user