rocky
eed4c1025b
Pypy 3.6 tolerance
2019-10-30 11:44:04 -04:00
rocky
86c1d12e69
Pypy 3.6 tolerance
2019-10-29 18:12:06 -04:00
rocky
ebb0342b38
WIP pypy3.6 handling
2019-10-28 13:20:51 -04:00
rocky
5cb46c2ed3
Better simpler fragment fix...
...
remove hide_internal test. We changed the default and that's what
whas causing RETURN_LAST to not get included.
2019-10-12 17:55:52 -04:00
rocky
163e47fb49
Fragment fixes (and workarounds)
...
fragments.py: add more parent offsets. blacken buffer
parser3.py: additional grammar rules for fragment parser
Misc small typos and corrections
2019-10-12 12:22:27 -04:00
rocky
71735ca7ef
Note that CALL_METHOD is used in 3.7+
...
and not just Pypy anymore
2019-07-18 05:26:33 -04:00
R. Bernstein
0fe8961418
Merge pull request #269 from rocky/if-elif-else-more
...
If elif else more
2019-07-01 09:52:11 -04:00
x0ret
7b7f794913
Fix handling py3 annotation args + defparam comma issue
2019-07-01 01:28:32 +04:30
rocky
50e46531ce
Adjust 3.x grammar rules to include annotate args
2019-06-29 23:33:21 -04:00
rocky
999f1fb0f9
Mostly x0ret's while(1)/if fixes ..
...
plus a potential test
2019-06-29 07:01:45 -04:00
rocky
e26c7407a0
Small changes to document some of the complexity.
2019-06-23 20:00:00 -04:00
x0ret
e96498eaf0
Adjust ifelsestmtr grammer
2019-06-24 01:28:33 +04:30
rocky
d371839c99
A few more LOAD_CONST->LOAD_CODE
2019-06-19 15:38:58 -04:00
rocky
24afe072b7
LOAD_CONST -> LOAD_CODE where appropriate
2019-06-19 14:43:07 -04:00
rocky
e2d7f01298
Handle 2-arg asserts in 3.6+ish
...
Changed files have also been reformatted via the blacken formatter
2019-06-18 22:09:16 -04:00
rocky
719d2d7232
Correct order of pos vs kwargs in 3.0-3.2
2019-06-09 16:26:08 -04:00
rocky
c8fc6a704c
LOAD_CONST->LOAD_STR bugs and 3.4 kwargsonly
2019-06-09 02:18:21 -04:00
rocky
622d6f849c
Merge branch 'master' into string-const
2019-06-09 01:20:53 -04:00
rocky
86fd5dbf7a
3.3-3.4 pos kwargs ordering
2019-06-08 18:40:50 -04:00
rocky
117b4ff4f1
Add kwonly parsing.
...
* annotation parsing for kwonly args is missing.
* Start filling out runnable tests. More work is needed on tests.
* refresh incorrect bytecode_3.3_run/15_assert.pyc
2019-06-08 15:29:18 -04:00
rocky
44d7cbcf6f
LOAD_CONST->LOAD_STR for Python 3.x
2019-06-08 02:28:27 -04:00
rocky
af209dc142
Bug in 3.5+ generator detection...
...
Also bug in 3.5 code detection for async attribute
2019-06-05 19:08:21 -04:00
rocky
01cc184716
dict grammar rule cleanup
2019-05-21 15:09:40 -04:00
rocky
f2f17740ee
2.7 if_expr_true restriction ...
...
condition_true -> if_expr_true
condition_lambda -> if_expr_lambda
These correspond to the Python AST names better.
2019-05-05 16:09:10 -04:00
rocky
bc49469704
delete_subscr -> delete_subscript ...
...
to better (but not exactly) match the Python AST
2019-05-04 19:43:00 -04:00
rocky
ce7015f382
Improve 3.x while1 reduction elimination
2019-05-01 11:10:16 -04:00
rocky
7d9286b353
Get ready for release 3.3.1
2019-04-19 05:51:05 -04:00
rocky
0de99e5d44
Scale back "try" vs. "tryelse" reduction test on 3.6+
2019-04-18 16:45:44 -04:00
rocky
52af2ba32a
3.6+ lambda parameter handling
2019-04-18 14:21:52 -04:00
rocky
0c4ab699b5
3.4+ while handling with returns ...
...
these while loops don't have a JUMP_BACK in them
2019-04-15 12:03:11 -04:00
rocky
9b550b9dda
PEP E225 with a nod to Deepcommit
2019-04-14 06:11:16 -04:00
rocky
f3d86e0708
Bang on Python 3.8
2019-04-10 07:22:43 -04:00
rocky
dcad6cf6ce
Fix if return boundary in 3.6+
...
Fixes #209
2019-03-10 05:59:15 -04:00
rocky
a2321773d7
Fix Python 3.x try/else detection
...
Fixes #155
2019-01-01 22:50:28 -05:00
rocky
d443295df6
Check range of _come_froms on ifelsestmt reduction
...
Fixes #200
2018-12-31 08:39:08 -05:00
rocky
ec42ee540c
Small typos
2018-09-20 17:40:23 -04:00
rocky
616e5c82f6
Reinstat expr32 and expr1024 rules...
...
to speed up handling long literal lists. See also issue #188
Update issue forms to simplfy via putting instructions as comments.
2018-09-19 20:14:42 -04:00
rocky
19ec52eb63
Change AST to SyntaxTree in many places
2018-07-15 12:37:50 -04:00
rocky
41a50b5e46
Handle if not else in lambdas...
...
Fixes #170
2018-04-25 12:57:09 -04:00
rocky
6fcf49b214
2.6 compatability
2018-04-18 12:18:32 -04:00
rocky
49661b222e
Ooops - remove debug statement.
2018-04-18 12:11:56 -04:00
rocky
c481d97866
A more uniform way to track opcodes seen...
...
use a set rather than these boolean variables. Done in 3.x
only for now. May do more later..
2018-04-18 12:01:46 -04:00
rocky
6c6d62edb8
python 2.6 grammar test tweak
2018-04-16 13:00:30 -04:00
rocky
245deb0931
Get ready for release 3.8.1 ...
...
and more 3.7 grammar customization
2018-04-16 12:53:35 -04:00
rocky
ede6eabc40
Slightly Python 3.x handing of subclasses...
...
which are created via a call to create a subclass.
Should be more general though.
2018-04-08 05:22:35 -04:00
rocky
68821efdb0
Improve 3.5+ BUILD_MAP_UNPACK...
...
And add build_tuple_unpack runtime test from a previous commit.
We are far from out of the woods, as there is more to do and
we've uncovered more bugs in handling this.
2018-04-06 21:34:31 -04:00
rocky
ff9ae4e792
Better handling of BUILD_TUPLE_UNPACK
2018-04-06 11:35:41 -04:00
rocky
ab1dba1536
Handle 3.5+ BUILD_MAP_UNPACK used in dictionaries
...
A number of weaknesses have been uncovered though
2018-04-01 12:56:58 -04:00
rocky
120412f5a8
Add Python 3.6 setcomp and another call bug
2018-04-01 07:09:24 -04:00
rocky
1d5f4b0a05
Some 3.x grammar reduction...
...
Add 3.2 to grammar testing
2018-03-28 21:19:27 -04:00