rocky
ad98fae3d4
Get ready for release 2.10.0
release-2.10.0
2017-05-30 01:55:36 -04:00
rocky
cbbf64ccd0
Python 3.6 makefunction handling for fragments
2017-05-30 01:25:33 -04:00
rocky
394120bb1a
Fix up 3.6 unmapexpr
2017-05-23 21:10:14 -04:00
rocky
7257ba41c5
Fix up retreiving "async" property on 3.6
2017-05-23 21:02:06 -04:00
rocky
9eee4eccd7
Fix bug in a 3.6 class name.
2017-05-23 19:00:06 -04:00
rocky
cf3c07e047
Add fuzzy offset deparse lookup
2017-05-23 06:10:31 -04:00
rocky
d93b7a9eae
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-21 04:44:11 -04:00
rocky
5ebb731c04
Worse results. Revert some of the last changes
2017-05-20 07:50:41 -04:00
rocky
d3794ec9af
More explicit about 3.5 UNMAP_PACK
...
Have to reduce 3.5 bytecode testing for now, code is more solid.
2017-05-20 07:40:59 -04:00
rocky
2ab7aa2f48
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 22:06:18 -04:00
rocky
49fd430505
EXTENDED_ARG is implemented in 2.6
2017-05-19 19:29:56 -04:00
rocky
2a47f0309f
Fix EXTENDED_ARG for long lists, sets, maps
2017-05-19 15:36:53 -04:00
rocky
3084ac20e9
Another attempt at getting get_target() correct
2017-05-19 07:52:31 -04:00
rocky
9c846c309e
Bug in pypy JUMP_IF_NOT_DEBUG handling
2017-05-19 07:18:25 -04:00
rocky
b4efa62fad
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-19 07:13:20 -04:00
rocky
94d1c6dfd3
Enforce using xdis >=3.3.1 ..
...
to pick up bug fixes to 3.6 in xdis
2017-05-18 04:20:16 -04:00
rocky
6991a637a2
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-17 23:31:56 -04:00
rocky
52b1f4d2b6
Fix broken CI on 3.6...
...
Another grammar rule replacing SETUP_LOOP with setup_loop
2017-05-16 20:23:24 -04:00
rocky
0ce804ae16
More EXTENDED_ARGS on 3.6
2017-05-16 06:20:41 -04:00
rocky
d2502f205e
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 06:03:57 -04:00
rocky
2ad40a5648
Allow LOAD_CONST EXTENDED_ARG
2017-05-16 00:22:48 -04:00
rocky
d1a695b2bd
Reinstate 3.6 listcomp rule
2017-05-15 19:28:17 -04:00
rocky
47b6a35abc
Bang on 3.6 MAKE_FUNCTION some more
2017-05-15 03:07:11 -04:00
rocky
b1e32c7cc5
towards fixing a 3.5.CALL_FUNCTONI_VAR bug
2017-05-14 12:23:47 -04:00
rocky
47977b3372
Python 3.5 kw arg can be an expr
...
Fixes Issue #95
2017-05-14 11:46:15 -04:00
R. Bernstein
2a7a166696
Merge pull request #117 from rocky/3.6-MAKE_FUNCTION
...
3.6 make function
2017-05-14 03:47:05 -04:00
rocky
ea732acf49
In conjunction with MAKE_FUNCTION_FLAGS change...
...
Switched from tuple to string, but forgot to change the code that uses this.
2017-05-13 17:29:20 -04:00
rocky
da884487d5
MAKE_FUNCTION_FLAGS can be a simpler tuple
2017-05-13 11:47:27 -04:00
rocky
ff73efcf8e
Grammar rules for Python 3.6 MAKE_FUNCTION
2017-05-13 11:39:19 -04:00
rocky
a32c0e68ef
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 10:06:43 -04:00
rocky
73857c831b
Typo
2017-05-13 06:12:31 -04:00
rocky
4c2ca44818
Bug in 2.7 decompiling ourself!
...
Troublesome file was uncompyle6.semantics.pysource.engine()
2017-05-12 22:52:05 -04:00
R. Bernstein
3e7add1138
Merge pull request #113 from grkov90/patch-1
...
Fixed out_base bug
2017-05-11 16:39:08 -04:00
Gregory Komagurov
69fd1b3371
Fix tests
2017-05-11 19:43:14 +03:00
rocky
d540146d5a
WIP: start 3.6 MAKE_FUNCTION handling
2017-05-11 07:00:46 -04:00
Daniel Bradburn
e9a17010c7
Merge pull request #116 from moagstar/function_call_keyword_only
...
Added support for Python 3.6 CALL_FUNCTION_KW
2017-05-11 07:56:08 +02:00
Daniel Bradburn
038692dbf9
Double star arg only test is no longer expected to fail
2017-05-10 22:57:48 +02:00
Daniel Bradburn
93437152a2
Fixed bug in compiling double star arg only function calls where the closing parenthesis would be missed
2017-05-10 22:52:49 +02:00
Daniel Bradburn
b952f56c44
Adding requirement for pytest >= 3.0 to fix strange INTERNALERROR in combination with hypothesis when using pytest 2.6.4
2017-05-10 22:36:28 +02:00
Daniel Bradburn
ca1679e636
Added support for support for Python 3.6 CALL_FUNCTION_KW
2017-05-10 21:49:42 +02:00
rocky
8d084ed358
pysource guard and another appveyor test
2017-05-08 07:03:10 -04:00
rocky
a10914a645
appveyor take 2
2017-05-08 06:44:43 -04:00
rocky
9c0ef9fa63
Try appveyor
2017-05-08 06:28:36 -04:00
rocky
449d74af51
More guarded CONTINUE deletion
2017-05-07 13:30:26 -04:00
rocky
f8a40c1949
Reduce spurious "continue" statements
2017-05-07 13:15:26 -04:00
rocky
e10e184eda
--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 09:13:50 -04:00
rocky
605721c995
Python 3.x control-flow bug...
...
"pass" statement inside "while True"
2017-05-07 09:10:05 -04:00
rocky
50d875f6a6
Small typo
2017-05-07 08:01:48 -04:00
rocky
26e8de8532
Fix improper COME_FROM_EXCEPT in Python 3.3+
2017-05-07 03:19:53 -04:00
rocky
89d8a70778
python 3.3 while True parsing bug
2017-05-06 10:00:33 -04:00