rocky
|
e8e7d2086d
|
whileelse in 3.6 sometimes has come froms...
also remove extra "L. " in token printing
|
2020-04-04 10:12:12 -04:00 |
|
rocky
|
ceb26d29fd
|
3.5- doesn't do format strings
|
2020-04-01 10:03:10 -04:00 |
|
rocky
|
a616e1e1c7
|
"withstmt" -> "with" and fix async for
|
2020-04-01 09:48:34 -04:00 |
|
rocky
|
e2d349f781
|
Handle nested async for in for...
and Better async comprehension detection.
Still more work is needed. See commented-out section in
test/simple_source/bug37/02_async_for_generator.py
|
2020-03-31 12:05:39 -04:00 |
|
rocky
|
2b2e7d3242
|
Bump xdis and pyenv versions,
|
2020-03-16 16:44:34 -04:00 |
|
rocky
|
35127452f5
|
Bug found by 2.4 sre_parse.py testing
|
2020-02-15 08:06:58 -05:00 |
|
rocky
|
28ef04d141
|
More bugs found via sre_parse.py decompilation
|
2020-02-15 05:10:11 -05:00 |
|
rocky
|
fd36c77d2d
|
Bugs found in 2.4 branch testing
|
2020-02-14 10:54:37 -05:00 |
|
rocky
|
874d196e5c
|
3.x ifelsestmtc reduction rule fix
|
2020-02-13 05:41:15 -05:00 |
|
rocky
|
8ac35ad8ce
|
Need to back off ifelsetesting on 2.7...
until we can more fully untangle if stmts in loops.
Current tests break urllib2.pyc and cgi.pyc
|
2020-02-09 09:01:32 -05:00 |
|
rocky
|
8836444be2
|
Correct ifelsestmtc rules for 3.x
|
2020-02-09 08:14:44 -05:00 |
|
rocky
|
5355cb5404
|
async with rules back to 3.5 and ...
add precidence on cascaded "await" expressions
|
2020-02-08 20:31:06 -05:00 |
|
rocky
|
8495d208fb
|
3.7+ "async with" handling from decompyle3
|
2020-02-08 19:48:09 -05:00 |
|
rocky
|
e2504c2421
|
3.7 ifelstmtl reduction rule checking
|
2020-02-08 13:47:05 -05:00 |
|
rocky
|
65707fa0f8
|
FIx bug that snuck in last commit.
|
2020-02-08 12:01:56 -05:00 |
|
rocky
|
b0931275a2
|
Need more precise "assert" for 3.8...
Add rule for ifelsestmtl which is needed in 3.8
|
2020-02-08 11:46:19 -05:00 |
|
rocky
|
7c73536b4a
|
3.6 "assert" and "or" handling bugs
|
2020-02-08 07:27:31 -05:00 |
|
rocky
|
946d46a574
|
Fix Python 3.6 "if" parse failures in loops...
This fixes all the pyenv parse errors that were introduced in the last refactor.
|
2020-02-08 05:21:42 -05:00 |
|
rocky
|
c93a7a728b
|
Add decompyle3 ifelsestmt reduction rule...
and Go over 3.3 and 3.7 runtests excludes
|
2020-02-07 19:22:23 -05:00 |
|
rocky
|
cb35ad906c
|
One more if_exp use (ret_cond)
|
2020-02-07 16:34:48 -05:00 |
|
rocky
|
278af38df6
|
conditional -> if_exp ...
to match Python IfExp AST
|
2020-02-07 16:17:47 -05:00 |
|
rocky
|
621bc96e8a
|
Ensure offset is an int in offset test
|
2020-02-04 20:20:40 -05:00 |
|
rocky
|
610994277c
|
2.7 ifelsestmt reduction rule futzing
|
2020-02-02 07:52:08 -05:00 |
|
rocky
|
cf505545c0
|
3.6 iflastlstmt rule checking again
|
2020-02-01 12:00:08 -05:00 |
|
rocky
|
45c725feae
|
3.6 iflaststmtl doesn't follow ifstmt rules...
like iflaststmt does. test_dbm_dumb.py shows this
|
2020-02-01 11:20:58 -05:00 |
|
rocky
|
4dc64063d1
|
Small change
|
2020-02-01 11:14:19 -05:00 |
|
rocky
|
cdc5642715
|
More reduction checks...
Those in reduce check as well as those listed in parse{2,3}.
3.6 iflastsmtl needs ifstmt checking.
|
2020-02-01 07:10:30 -05:00 |
|
rocky
|
4f4850d9f7
|
Restrict "and" reduction checking to Python 3.6
|
2020-02-01 04:42:46 -05:00 |
|
rocky
|
451b18ee57
|
2.7 tryelse rule check disambiguation.
|
2020-02-01 04:05:50 -05:00 |
|
rocky
|
2d1ea6b02b
|
See previous commit
|
2020-01-31 21:12:59 -05:00 |
|
rocky
|
f279cc2d70
|
ifelsesmt for 2.7 yet again
|
2020-01-31 21:10:24 -05:00 |
|
rocky
|
cb1b2a8759
|
Typo in last commit
|
2020-01-31 19:11:13 -05:00 |
|
rocky
|
d64158b299
|
No iflastlstmt reduce check for python < 3.6...
just yet
|
2020-01-31 19:07:28 -05:00 |
|
rocky
|
2ea8a2ef7f
|
was getting testlastl reduce rule from wrong place
|
2020-01-31 17:37:47 -05:00 |
|
rocky
|
258fac3201
|
limit 3.x scope of ifelstmt reduction check to 3.6
at least for now. Again, we need major cleanup of this stuff, but that
will be done later.
|
2020-01-31 16:22:32 -05:00 |
|
rocky
|
f27b72ab05
|
Work around 2.7 phony come-froms in ifelsesmt
|
2020-01-31 15:49:29 -05:00 |
|
rocky
|
be022b3416
|
Start ifelsestmt reduce checks in Python 2.7
|
2020-01-31 13:58:06 -05:00 |
|
rocky
|
41f1d1ec09
|
Remove dup statement
|
2020-01-31 13:18:23 -05:00 |
|
rocky
|
89c2805c27
|
Start to clean up parse3 reduction rule checks...
A lot more work is needed, but this is a start.
|
2020-01-31 13:10:35 -05:00 |
|
rocky
|
e639a30157
|
Add some decompyle reduction-check goodness here
|
2020-01-31 12:20:12 -05:00 |
|
rocky
|
6466d30e2e
|
Adjust "ifelsestmt" rule
Fixes #305
|
2020-01-30 19:45:32 -05:00 |
|
rocky
|
b548910e57
|
IMPORT_NAME -> IMPORT_NAME_ATTR
Fixes #304
|
2020-01-28 01:43:20 -05:00 |
|
rocky
|
13ca1117ad
|
3.x "if" in loop grammar separation
|
2020-01-26 10:32:29 -05:00 |
|
rocky
|
71e9b0d96d
|
More "if" in loop parse separation
|
2020-01-26 09:25:04 -05:00 |
|
rocky
|
1fff81736f
|
parser if-stmt restriction thing & 3.x exclusions
|
2020-01-26 08:27:49 -05:00 |
|
rocky
|
33918bd9d2
|
More 3.x "if" checking. Abbreviate stmts->sstmt
|
2020-01-26 02:58:33 -05:00 |
|
rocky
|
d43972313a
|
Cut-n-paste grammar rule bug
|
2020-01-25 19:06:41 -05:00 |
|
rocky
|
dac277f1fa
|
Back off loop separate rules, a little for now
|
2020-01-25 18:07:05 -05:00 |
|
rocky
|
a50263518a
|
3.x if loop separation
|
2020-01-25 17:32:28 -05:00 |
|
rocky
|
73fb9f6b96
|
Make sure "stmts" stays the start rule
|
2020-01-25 16:14:36 -05:00 |
|