Get ready for release 2.10.0

This commit is contained in:
rocky 2017-05-30 01:26:52 -04:00
parent cbbf64ccd0
commit ad98fae3d4
3 changed files with 490 additions and 224 deletions

408
ChangeLog
View File

@ -1,6 +1,243 @@
2017-05-30 rocky <rb@dustyfeet.com>
* uncompyle6/version.py: Get ready for release 2.10.0
2017-05-30 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py: Python 3.6 makefunction
handling for fragments
2017-05-23 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/pysource.py: Fix up 3.6 unmapexpr
2017-05-23 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/pysource.py: Fix up retreiving "async"
property on 3.6
2017-05-23 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/pysource.py: Fix bug in a 3.6 class name.
2017-05-23 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Add fuzzy offset deparse lookup
2017-05-21 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Correct EXTENDED_ARG handling on
Python 3.6... where it can appear several times and xdis may handle it as well.
It possibly in other versions bug since EXTENDED_ARG is used so
rarely there because it has such a high value 1<<16, it's hard to
test and determine that.
2017-05-20 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/pysource.py: Worse results. Revert some of
the last changes
2017-05-20 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py:
More explicit about 3.5 UNMAP_PACK Have to reduce 3.5 bytecode testing for now, code is more solid.
2017-05-19 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py, uncompyle6/parsers/parse36.py,
uncompyle6/scanners/scanner3.py: Simplify EXTENDED_ARG on 3.x We largely remove them and fold them itno the next op.
MAKE_FUNCTION though before 3.6 is an exception as that indicates an
annotated function
2017-05-19 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner26.py: EXTENDED_ARG is implemented in
2.6
2017-05-19 rocky <rb@dustyfeet.com>
* test/simple_source/expression/06_huge_list.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py: Fix
EXTENDED_ARG for long lists, sets, maps
2017-05-19 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Another attempt at getting
get_target() correct
2017-05-19 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: Bug in pypy JUMP_IF_NOT_DEBUG
handling
2017-05-19 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse36.py, uncompyle6/scanners/scanner3.py:
EXTENDED_ARG handling... get_target() wasn't taking into account EXTENDED_ARG before opcode. This is mostly relevant in Python 3.6 where the max size before
needing EXTENDED_ARG has been reduced to 256, but theoretically
possible in earlier versions.
2017-05-18 rocky <rb@dustyfeet.com>
* __pkginfo__.py: Enforce using xdis >=3.3.1 .. to pick up bug fixes to 3.6 in xdis
2017-05-17 rocky <rb@dustyfeet.com>
* __pkginfo__.py, uncompyle6/parsers/parse36.py,
uncompyle6/scanners/scanner3.py: Small changes.... * __pkginfo__.py: Need spark parser 1.6.1 for corrected
remove_rules() fn * parser36.py: remove replaced Python3 rules * scanner3.py: corrected comment. Thanks to moagstar here. *
2017-05-16 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse36.py: Fix broken CI on 3.6... Another grammar rule replacing SETUP_LOOP with setup_loop
2017-05-16 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse36.py: More EXTENDED_ARGS on 3.6
2017-05-16 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse36.py: extend use of EXTENDED_ARGS in 3.6 switching to a wordcode seems to have made opcode fields smaller so
we need EXTENDED_ARG more?
2017-05-16 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse36.py, uncompyle6/semantics/pysource.py:
Allow LOAD_CONST EXTENDED_ARG
2017-05-15 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: Reinstate 3.6 listcomp rule
2017-05-15 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: Bang on 3.6 MAKE_FUNCTION some more
2017-05-14 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/pysource.py: towards fixing a
3.5.CALL_FUNCTONI_VAR bug
2017-05-14 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/04_CALL_FUNCTION_VAR_KW.py,
uncompyle6/parsers/parse3.py: Python 3.5 kw arg can be an expr Fixes Issue #95
2017-05-14 R. Bernstein <rocky@users.noreply.github.com>
* : Merge pull request #117 from rocky/3.6-MAKE_FUNCTION 3.6 make function
2017-05-13 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: MAKE_FUNCTION_FLAGS can be a
simpler tuple
2017-05-13 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: Grammar rules for Python 3.6
MAKE_FUNCTION
2017-05-13 rocky <rb@dustyfeet.com>
* README.rst, uncompyle6/parsers/parse3.py,
uncompyle6/parsers/parse36.py, uncompyle6/semantics/pysource.py:
Bang on 3.6 MAKE_FUNCTION a bit more parse3.py, parse36.py: adding return_closure rule tags what's going
on with this rule pysource.py: start changing semantic rules to support code changed
by new make_function semantics README.rst: typo
2017-05-13 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Typo
2017-05-12 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse27.py: Bug in 2.7 decompiling ourself! Troublesome file was uncompyle6.semantics.pysource.engine()
2017-05-11 R. Bernstein <rocky@users.noreply.github.com>
* : Merge pull request #113 from grkov90/patch-1 Fixed out_base bug
2017-05-11 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py, uncompyle6/scanners/scanner3.py,
uncompyle6/semantics/make_function.py: WIP: start 3.6 MAKE_FUNCTION
handling
2017-05-11 Daniel Bradburn <moagstar@gmail.com>
* : Merge pull request #116 from moagstar/function_call_keyword_only Added support for Python 3.6 CALL_FUNCTION_KW
2017-05-10 Daniel Bradburn <moagstar@gmail.com>
* uncompyle6/semantics/pysource.py: Fixed bug in compiling double
star arg only function calls where the closing parenthesis would be
missed
2017-05-10 Daniel Bradburn <moagstar@gmail.com>
* requirements-dev.txt: Adding requirement for pytest >= 3.0 to fix
strange INTERNALERROR in combination with hypothesis when using
pytest 2.6.4
2017-05-10 Daniel Bradburn <moagstar@gmail.com>
* pytest/test_CALL_FUNCTION_KW.sh, pytest/test_function_call.py,
uncompyle6/parsers/parse3.py, uncompyle6/parsers/parse36.py,
uncompyle6/scanners/scanner36.py, uncompyle6/semantics/pysource.py:
Added support for support for Python 3.6 CALL_FUNCTION_KW
2017-05-08 rocky <rb@dustyfeet.com>
* appveyor.yml, test/test_pyenvlib.py,
uncompyle6/semantics/pysource.py: pysource guard and another
appveyor test
2017-05-08 rocky <rb@dustyfeet.com>
* appveyor.yml: appveyor take 2
2017-05-08 rocky <rb@dustyfeet.com>
* appveyor.yml, appveyor/install.ps1, appveyor/run_with_env.cmd: Try
appveyor
2017-05-07 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/pysource.py: More guarded CONTINUE deletion
2017-05-07 rocky <rb@dustyfeet.com>
* uncompyle6/scanner.py, uncompyle6/scanners/scanner3.py,
uncompyle6/semantics/pysource.py: Reduce spurious "continue"
statements
2017-05-07 rocky <rb@dustyfeet.com>
* test/Makefile: --weak-verify on 3.3 with inclusion of last commit Note that the result is sematically equivalent, so it is is correct.
2017-05-07 rocky <rb@dustyfeet.com>
* test/simple_source/looping/12_if_while_true_pass.py,
uncompyle6/scanners/scanner3.py: Python 3.x control-flow bug... "pass" statement inside "while True"
2017-05-07 rocky <rb@dustyfeet.com>
* HOW-TO-REPORT-A-BUG.md: Small typo
2017-05-07 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Fix improper COME_FROM_EXCEPT in
Python 3.3+
2017-05-06 rocky <rb@dustyfeet.com> 2017-05-06 rocky <rb@dustyfeet.com>
* uncompyle6/version.py: Get ready for release 2.9.11 * uncompyle6/parsers/parse33.py: python 3.3 while True parsing bug
2017-05-06 rocky <rb@dustyfeet.com>
* ChangeLog, NEWS, uncompyle6/version.py: Get ready for release
2.9.11
2017-05-06 rocky <rb@dustyfeet.com> 2017-05-06 rocky <rb@dustyfeet.com>
@ -21,6 +258,14 @@
* .travis.yml: Try CI testing on Python 3.6 * .travis.yml: Try CI testing on Python 3.6
2017-05-03 Gregory <grkov90@gmail.com>
* uncompyle6/main.py: Some fix
2017-05-03 Gregory <grkov90@gmail.com>
* uncompyle6/main.py: Fixed out_base bug Variable filename using in for tags uncompyle6 -o haven't worked argument -o haven't worked
2017-05-02 rocky <rb@dustyfeet.com> 2017-05-02 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/01_map_unpack.py, uncompyle6/parser.py, * test/simple_source/bug35/01_map_unpack.py, uncompyle6/parser.py,
@ -85,136 +330,136 @@
2017-04-22 rocky <rb@dustyfeet.com> 2017-04-22 rocky <rb@dustyfeet.com>
* history.md: history keeps gettting amended * HISTORY.md: History keeps gettting amended
2017-04-22 rocky <rb@dustyfeet.com> 2017-04-22 rocky <rb@dustyfeet.com>
* readme.rst: document python 3.x status * README.rst: Document Python 3.x status
2017-04-22 rocky <rb@dustyfeet.com> 2017-04-22 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/03_async_await.py, * test/simple_source/bug35/03_async_await.py,
uncompyle6/parsers/parse35.py, uncompyle6/semantics/pysource.py: add uncompyle6/parsers/parse35.py, uncompyle6/semantics/pysource.py: Add
await expr fixes #111 await expr Fixes #111
2017-04-22 rocky <rb@dustyfeet.com> 2017-04-22 rocky <rb@dustyfeet.com>
* : update test * : Update test
2017-04-22 rocky <rb@dustyfeet.com> 2017-04-22 rocky <rb@dustyfeet.com>
* test/simple_source/bug33/02_pos_args.py, * test/simple_source/bug33/02_pos_args.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/make_function.py: uncompyle6/parsers/parse3.py, uncompyle6/semantics/make_function.py:
3.3+ bug in handling single kwarg after * towards fixing issue #110 3.3+ bug in handling single kwarg after * Towards fixing issue #110
2017-04-20 rocky <rb@dustyfeet.com> 2017-04-20 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/02_async_for.py, * test/simple_source/bug35/02_async_for.py,
uncompyle6/parsers/parse35.py: add async for with pass statement fixes #109 uncompyle6/parsers/parse35.py: Add async for with pass statement Fixes #109
2017-04-19 rocky <rb@dustyfeet.com> 2017-04-19 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/03_while-if-break.py, * test/simple_source/bug35/03_while-if-break.py,
uncompyle6/parsers/parse3.py: 3.5 ifelsestmtl grammar bug. fixes #108 uncompyle6/parsers/parse3.py: 3.5 ifelsestmtl grammar bug. Fixes #108
2017-04-18 rocky <rb@dustyfeet.com> 2017-04-18 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/03_async_await.py, * test/simple_source/bug35/03_async_await.py,
uncompyle6/parsers/parse35.py: expand await stmt handling fixes #107 uncompyle6/parsers/parse35.py: Expand await stmt handling Fixes #107
2017-04-18 rocky <rb@dustyfeet.com> 2017-04-18 rocky <rb@dustyfeet.com>
* test/simple_source/bug33/01_delete_deref.py, * test/simple_source/bug33/01_delete_deref.py,
uncompyle6/parsers/parse32.py, uncompyle6/semantics/pysource.py: add uncompyle6/parsers/parse32.py, uncompyle6/semantics/pysource.py: Add
delete_deref grammar rule fixes issue #106 DELETE_DEREF grammar rule Fixes Issue #106
2017-04-17 rocky <rb@dustyfeet.com> 2017-04-17 rocky <rb@dustyfeet.com>
* test/simple_source/bug36/01_extended_arg.py, * test/simple_source/bug36/01_extended_arg.py,
test/simple_source/bug36/01_if_file.py: rename test case to test/simple_source/bug36/01_if_file.py: Rename test case to
something more appropriate something more appropriate
2017-04-17 rocky <rb@dustyfeet.com> 2017-04-17 rocky <rb@dustyfeet.com>
* test/simple_source/bug36/01_if_file.py: fix botched test case thanks to zm908 for pointing this out * test/simple_source/bug36/01_if_file.py: Fix botched test case Thanks to Zm908 for pointing this out
2017-04-16 rocky <rb@dustyfeet.com> 2017-04-16 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: comment on what's up with last * uncompyle6/parsers/parse3.py: Comment on what's up with last
change change
2017-04-16 rocky <rb@dustyfeet.com> 2017-04-16 rocky <rb@dustyfeet.com>
* test/simple_source/bug22/03_if1.py, * test/simple_source/bug22/03_if1.py,
test/simple_source/bug31/02_ifelse_comprehension.py, test/simple_source/bug31/02_ifelse_comprehension.py,
uncompyle6/parsers/parse3.py: python 3.x ifelse in comprehension fixes issue #91 uncompyle6/parsers/parse3.py: Python 3.x ifelse in comprehension Fixes Issue #91
2017-04-16 rocky <rb@dustyfeet.com> 2017-04-16 rocky <rb@dustyfeet.com>
* : add 2.7 complex test * : Add 2.7 complex test
2017-04-15 rocky <rb@dustyfeet.com> 2017-04-15 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/01_map_unpack.py, * test/simple_source/bug35/01_map_unpack.py,
uncompyle6/semantics/pysource.py: correct bug in 3.5+ build_list uncompyle6/semantics/pysource.py: Correct bug in 3.5+ build_list
with unpack with UNPACK
2017-04-15 r. bernstein <rocky@users.noreply.github.com> 2017-04-15 R. Bernstein <rocky@users.noreply.github.com>
* how-to-report-a-bug.md: update how-to-report-a-bug.md * HOW-TO-REPORT-A-BUG.md: Update HOW-TO-REPORT-A-BUG.md
2017-04-15 r. bernstein <rocky@users.noreply.github.com> 2017-04-15 R. Bernstein <rocky@users.noreply.github.com>
* how-to-report-a-bug.md: update how-to-report-a-bug.md * HOW-TO-REPORT-A-BUG.md: Update HOW-TO-REPORT-A-BUG.md
2017-04-15 rocky <rb@dustyfeet.com> 2017-04-15 rocky <rb@dustyfeet.com>
* test/simple_source/bug36/01_if_file.py, * test/simple_source/bug36/01_if_file.py,
uncompyle6/parsers/parse36.py: 3.6 generates wonky extended_arg in uncompyle6/parsers/parse36.py: 3.6 generates Wonky EXTENDED_ARG in
expression fixes issue #102 expression Fixes Issue #102
2017-04-15 rocky <rb@dustyfeet.com> 2017-04-15 rocky <rb@dustyfeet.com>
* how-to-report-a-bug.md, manifest.in: add how to report a bug add test case for ... if 1 else ... * HOW-TO-REPORT-A-BUG.md, MANIFEST.in: Add how to report a bug Add test case for ... if 1 else ...
2017-04-14 rocky <rb@dustyfeet.com> 2017-04-14 rocky <rb@dustyfeet.com>
* test/simple_source/bug35/01_map_unpack.py, * test/simple_source/bug35/01_map_unpack.py,
uncompyle6/parsers/parse3.py, uncompyle6/parsers/parse35.py, uncompyle6/parsers/parse3.py, uncompyle6/parsers/parse35.py,
uncompyle6/semantics/pysource.py: python 3.5+ build_unmap_pack rules towards addressing issue #98 uncompyle6/semantics/pysource.py: Python 3.5+ BUILD_UNMAP_PACK rules Towards addressing Issue #98
2017-04-14 rocky <rb@dustyfeet.com> 2017-04-14 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: reduce adding return_end_if in * uncompyle6/scanners/scanner3.py: Reduce adding RETURN_END_IF in
3.5+ the whole control flow determination has to be redone in a less 3.5+ The whole control flow determination has to be redone in a less
haphazard way using real flow-control analysis. hopefully that's on haphazard way using real flow-control analysis. Hopefully that's on
the way. in the meantime we have this hack. the way. In the meantime we have this hack.
2017-04-14 rocky <rb@dustyfeet.com> 2017-04-14 rocky <rb@dustyfeet.com>
* test/simple_source/bug27+/03_if_1_else.py, * test/simple_source/bug27+/03_if_1_else.py,
test/simple_source/bug27+/03_if_true_else.py: better names for a test/simple_source/bug27+/03_if_true_else.py: Better names for a
test test
2017-04-13 rocky <rb@dustyfeet.com> 2017-04-13 rocky <rb@dustyfeet.com>
* test/simple_source/bug27+/03_if_true_else.py, * test/simple_source/bug27+/03_if_true_else.py,
uncompyle6/parser.py, uncompyle6/parsers/parse3.py, uncompyle6/parser.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/consts.py: add if1else. fixes #101 uncompyle6/semantics/consts.py: Add if1else. Fixes #101
2017-04-13 rocky <rb@dustyfeet.com> 2017-04-13 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: in 3.x come_from should include * uncompyle6/parsers/parse3.py: In 3.x come_from should include
come_from_except COME_FROM_EXCEPT
2017-04-13 rocky <rb@dustyfeet.com> 2017-04-13 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse35.py: towards fixing issue #92 * uncompyle6/parsers/parse35.py: Towards fixing issue #92
2017-04-13 rocky <rb@dustyfeet.com> 2017-04-13 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse23.py, uncompyle6/semantics/pysource.py: * uncompyle6/parsers/parse23.py, uncompyle6/semantics/pysource.py:
add python 2.3 rule for "if 1: ..." fully fixes #97 for python 2.3. python 2.4 was fixed in a previous Add Python 2.3 rule for "if 1: ..." Fully fixes #97 for Python 2.3. Python 2.4 was fixed in a previous
commit. commit.
2017-04-12 rocky <rb@dustyfeet.com> 2017-04-12 rocky <rb@dustyfeet.com>
@ -225,158 +470,158 @@
2017-04-12 rocky <rb@dustyfeet.com> 2017-04-12 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse24.py: handle python 2.4 "if 1...." * uncompyle6/parsers/parse24.py: Handle Python 2.4 "if 1...."
2017-04-11 rocky <rb@dustyfeet.com> 2017-04-11 rocky <rb@dustyfeet.com>
* test/simple_source/bug31/04_def_annotate.py, * test/simple_source/bug31/04_def_annotate.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/make_function.py: bang on 3.x annotations uncompyle6/semantics/make_function.py: Bang on 3.x annotations
2017-04-11 rocky <rb@dustyfeet.com> 2017-04-11 rocky <rb@dustyfeet.com>
* test/simple_source/bug31/04_def_annotate.py, * test/simple_source/bug31/04_def_annotate.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py: uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py:
towards fixing annotated decorator functions... and annotate functions Towards fixing annotated decorator functions... and annotate functions
2017-04-10 rocky <rb@dustyfeet.com> 2017-04-10 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse2.py, uncompyle6/scanners/scanner27.py, * uncompyle6/parsers/parse2.py, uncompyle6/scanners/scanner27.py,
uncompyle6/semantics/check_ast.py, uncompyle6/semantics/pysource.py: uncompyle6/semantics/check_ast.py, uncompyle6/semantics/pysource.py:
misc bugs parse2.py: restore accidently-removed while1stmt rule scanner27.py: Misc bugs parse2.py: restore accidently-removed while1stmt rule scanner27.py:
grammar typo check_ast: add while1else to list of looping constructs grammar typo check_ast: add while1else to list of looping constructs
pysource.py: call_function_var_kw_args with positional args rule is pysource.py: CALL_FUNCTION_VAR_KW_ARGS with positional args rule is
different? different?
2017-04-10 rocky <rb@dustyfeet.com> 2017-04-10 rocky <rb@dustyfeet.com>
* test/simple_source/stmts/02_while1else.py, * test/simple_source/stmts/02_while1else.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py, uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py,
uncompyle6/parsers/parse35.py: add more while1else grammar rules towards addressing issue #93 uncompyle6/parsers/parse35.py: Add more while1else grammar rules Towards addressing issue #93
2017-04-09 rocky <rb@dustyfeet.com> 2017-04-09 rocky <rb@dustyfeet.com>
* : one more function_var test for 3.3 * : One more FUNCTION_VAR test for 3.3
2017-04-09 rocky <rb@dustyfeet.com> 2017-04-09 rocky <rb@dustyfeet.com>
* test/simple_source/def/10_kw+pos_args-bug.py, * test/simple_source/def/10_kw+pos_args-bug.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py: uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py:
another python 3.5 function_var bug fixes #94 Another Python 3.5 FUNCTION_VAR bug Fixes #94
2017-04-09 rocky <rb@dustyfeet.com> 2017-04-09 rocky <rb@dustyfeet.com>
* : commit 4199bc7f617e387fb03fc06939cd17366dc15c5e author: rocky * : commit 4199bc7f617e387fb03fc06939cd17366dc15c5e Author: rocky
<rb@dustyfeet.com> date: sun apr 9 05:30:45 2017 -0400 <rb@dustyfeet.com> Date: Sun Apr 9 05:30:45 2017 -0400
2017-04-03 rocky <rb@dustyfeet.com> 2017-04-03 rocky <rb@dustyfeet.com>
* : commit 6773a66b99d07e48290a77dbbbe3c71cc39c31ba author: rocky * : commit 6773a66b99d07e48290a77dbbbe3c71cc39c31ba Author: rocky
<rb@dustyfeet.com> date: mon apr 3 06:53:12 2017 -0400 <rb@dustyfeet.com> Date: Mon Apr 3 06:53:12 2017 -0400
2017-03-27 rocky <rb@dustyfeet.com> 2017-03-27 rocky <rb@dustyfeet.com>
* : commit a91cd716670be09d3cef34e1bb36a67f96f91712 author: rocky * : commit a91cd716670be09d3cef34e1bb36a67f96f91712 Author: rocky
<rb@dustyfeet.com> date: mon mar 27 07:08:59 2017 -0400 <rb@dustyfeet.com> Date: Mon Mar 27 07:08:59 2017 -0400
2017-03-19 rocky <rb@dustyfeet.com> 2017-03-19 rocky <rb@dustyfeet.com>
* __pkginfo__.py: use more-recent xdis * __pkginfo__.py: Use more-recent xdis
2017-03-15 rocky <rb@dustyfeet.com> 2017-03-15 rocky <rb@dustyfeet.com>
* history.md, test/simple_source/bug33/01_if_try_except.py: grammar * HISTORY.md, test/simple_source/bug33/01_if_try_except.py: grammar
typo and add another test typo and add another test
2017-03-12 rocky <rb@dustyfeet.com> 2017-03-12 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: python 3.0 doesn't have * uncompyle6/scanners/scanner3.py: Python 3.0 doesn't have
pop_jump_if... POP_JUMP_IF...
2017-03-12 rocky <rb@dustyfeet.com> 2017-03-12 rocky <rb@dustyfeet.com>
* readme.rst: note problem in handling pathologically long lists * README.rst: Note problem in handling pathologically long lists
2017-03-07 rocky <rb@dustyfeet.com> 2017-03-07 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: small cleanup - remove * uncompyle6/scanners/scanner3.py: Small cleanup - remove
pop_jump_tf POP_JUMP_TF
2017-03-05 rocky <rb@dustyfeet.com> 2017-03-05 rocky <rb@dustyfeet.com>
* pytest/test_grammar.py, uncompyle6/parsers/parse3.py, * pytest/test_grammar.py, uncompyle6/parsers/parse3.py,
uncompyle6/parsers/parse33.py, uncompyle6/scanners/scanner3.py: more uncompyle6/parsers/parse33.py, uncompyle6/scanners/scanner3.py: More
accurate ranges of try blocks in 3.x accurate ranges of try blocks in 3.x
2017-03-05 rocky <rb@dustyfeet.com> 2017-03-05 rocky <rb@dustyfeet.com>
* test/simple_source/bug33/01_try_except.py: more accurate ranges of * test/simple_source/bug33/01_try_except.py: More accurate ranges of
try blocks in 3.x try blocks in 3.x
2017-03-04 r. bernstein <rocky@users.noreply.github.com> 2017-03-04 R. Bernstein <rocky@users.noreply.github.com>
* : merge pull request #84 from * : Merge pull request #84 from
moagstar/property_based_test_function_call property based test function call moagstar/property_based_test_function_call Property based test function call
2017-03-04 rocky <rb@dustyfeet.com> 2017-03-04 rocky <rb@dustyfeet.com>
* readme.rst: readme updates for 3.5 and 1.5 * README.rst: README updates for 3.5 and 1.5
2017-03-04 rocky <rb@dustyfeet.com> 2017-03-04 rocky <rb@dustyfeet.com>
* test/simple_source/bug32/01_named_and_kwargs.py, * test/simple_source/bug32/01_named_and_kwargs.py,
uncompyle6/parsers/parse3.py: bug found by hypothesis in creating uncompyle6/parsers/parse3.py: Bug found by hypothesis in creating
function calls function calls
2017-03-04 daniel bradburn <moagstar@gmail.com> 2017-03-04 Daniel Bradburn <moagstar@gmail.com>
* pytest/test_function_call.py: marked all function call tests as * pytest/test_function_call.py: marked all function call tests as
failing until they pass across all python versions failing until they pass across all python versions
2017-03-04 daniel bradburn <moagstar@gmail.com> 2017-03-04 Daniel Bradburn <moagstar@gmail.com>
* pytest/test_function_call.py: added minimal examples for various * pytest/test_function_call.py: added minimal examples for various
function call opcodes function call opcodes
2017-03-04 daniel bradburn <moagstar@gmail.com> 2017-03-04 Daniel Bradburn <moagstar@gmail.com>
* pytest/test_function_call.py: added property based test for * pytest/test_function_call.py: added property based test for
verifying uncompylation of function calls. a number of minimal verifying uncompylation of function calls. A number of minimal
examples for the various function call opcodes have been generated examples for the various function call opcodes have been generated
with the majority marked as expected failure until python 3.6 opcode with the majority marked as expected failure until python 3.6 opcode
support is complete. i'm hoping this will make it easier to figure support is complete. I'm hoping this will make it easier to figure
out what needs to be done to support the new opcodes and changed out what needs to be done to support the new opcodes and changed
semntics for function calls semntics for function calls
2017-03-03 daniel bradburn <moagstar@gmail.com> 2017-03-03 Daniel Bradburn <moagstar@gmail.com>
* pytest/test_function_call.py: reduced errors when generating * pytest/test_function_call.py: reduced errors when generating
function call instances function call instances
2017-03-03 daniel bradburn <moagstar@gmail.com> 2017-03-03 Daniel Bradburn <moagstar@gmail.com>
* pytest/test_function_call.py: added test file for function calls * pytest/test_function_call.py: added test file for function calls
2017-03-03 daniel bradburn <moagstar@gmail.com> 2017-03-03 Daniel Bradburn <moagstar@gmail.com>
* .gitignore: added .idea to gitignore * .gitignore: added .idea to gitignore
2017-03-03 daniel bradburn <moagstar@gmail.com> 2017-03-03 Daniel Bradburn <moagstar@gmail.com>
* .gitignore: added .venv to gitignore * .gitignore: added .venv to gitignore
2017-03-01 rocky <rb@dustyfeet.com> 2017-03-01 rocky <rb@dustyfeet.com>
* uncompyle6/scanner.py, uncompyle6/scanners/scanner2.py, * uncompyle6/scanner.py, uncompyle6/scanners/scanner2.py,
uncompyle6/scanners/scanner3.py, uncompyle6/verify.py: come_from for uncompyle6/scanners/scanner3.py, uncompyle6/verify.py: COME_FROM for
3.x pop_except, dry with op_name() ... start adding come_froms for pop_except in preparation for getting 3.x POP_EXCEPT, DRY with op_name() ... Start adding COME_FROMs for POP_EXCEPT in preparation for getting
tryelse blocks correct. simpler opname access functions: - self.op_name(op) is self.opc.opname[op] - self.op_name_from_offset(offset) is tryelse blocks correct. Simpler opname access functions: - self.op_name(op) is self.opc.opname[op] - self.op_name_from_offset(offset) is
self.opc.opname[self.code[offset]] verify.py: not all offsets are ints self.opc.opname[self.code[offset]] verify.py: not all offsets are ints
2017-02-28 rocky <rb@dustyfeet.com> 2017-02-28 rocky <rb@dustyfeet.com>
* readme.rst, uncompyle6/parser.py, uncompyle6/parsers/parse26.py: * README.rst, uncompyle6/parser.py, uncompyle6/parsers/parse26.py:
python 2.6 a == b or c == d == 3 grammar bug Python 2.6 a == b or c == d == 3 grammar bug
2017-02-28 rocky <rb@dustyfeet.com> 2017-02-28 rocky <rb@dustyfeet.com>
@ -385,12 +630,12 @@
2017-02-28 rocky <rb@dustyfeet.com> 2017-02-28 rocky <rb@dustyfeet.com>
* test/simple_source/bug26/03_double_equals.py, * test/simple_source/bug26/03_double_equals.py,
uncompyle6/semantics/consts.py: predidence of cmp_list: x == y == z the x, y, z should not have parenthesis around pairs of them (x == uncompyle6/semantics/consts.py: Predidence of cmp_list: x == y == z The x, y, z should not have parenthesis around pairs of them (x ==
y) or (y == z) y) or (y == z)
2017-02-28 rocky <rb@dustyfeet.com> 2017-02-28 rocky <rb@dustyfeet.com>
* uncompyle6/parser.py, uncompyle6/parsers/parse27.py: python 2.7 * uncompyle6/parser.py, uncompyle6/parsers/parse27.py: Python 2.7
check jump targets of "and" check jump targets of "and"
2017-02-25 rocky <rb@dustyfeet.com> 2017-02-25 rocky <rb@dustyfeet.com>
@ -6026,3 +6271,4 @@
2012-06-05 Mysterie <kajusska@gmail.com> 2012-06-05 Mysterie <kajusska@gmail.com>
* first commit * first commit

20
NEWS
View File

@ -1,3 +1,23 @@
uncompyle6 2.10.0 2016-05-30 Elaine Gordon
- Add fuzzy offset deparse lookup
- 3.6 bugfixes
- fix EXTENDED_ARGS handling (and in 2.6 and others)
- semantic routine make_function fragments.py
- MAKE_FUNCTION handling
- CALL_FUNCTION_EX handling
- async property on defs
- support for CALL_FUNCTION_KW (moagstar)
- 3.5+ UNMAP_PACK and BUILD_UNMAP_PACK handling
- 3.5 FUNCTION_VAR bug
- 3.x pass statement insdie while True
- Improve 3.2 decompilation
- Fixed -o argument processing (Gregrory)
- Reduce scope of LOAD_ASSERT as expr to 3.4+
- "await" statement fixes
- 2.3, 2.4 "if 1 .." fixes
- 3.x annotation fixes
uncompyle6 2.9.11 2016-04-06 uncompyle6 2.9.11 2016-04-06
- Better support for Python 3.5+ BUILD_MAP_UNPACK - Better support for Python 3.5+ BUILD_MAP_UNPACK

View File

@ -1,3 +1,3 @@
# This file is suitable for sourcing inside bash as # This file is suitable for sourcing inside bash as
# well as importing into Python # well as importing into Python
VERSION='2.9.11' VERSION='2.10.0'