rocky
504164fcea
Merge branch 'master' into python-2.4
2019-06-12 13:08:30 -04:00
x0ret
c871a4ecc5
Fix subscript in store_annotation + indentation
2019-06-12 00:26:34 +04:30
rocky
76dcaf9bf0
Tweaks to x0ret's anotation type handling
...
- match AST names a little better: AnnAssign -> ann_assign...
- localize Annotation type grammar change only when we have it
- Add reduce rule to combine assignment and annotate declaration
- Add annotation-type test from Python 3.6
- Docuemnt what's up with annotation types
2019-06-11 11:02:25 -04:00
x0ret
21fd506fbb
Add 3.6 STORE_ANNOTATION
2019-06-11 10:36:55 -04:00
rocky
44d7cbcf6f
LOAD_CONST->LOAD_STR for Python 3.x
2019-06-08 02:28:27 -04:00
rocky
60d96b6a5a
Merge branch 'master' into python-2.4
2019-05-19 17:11:30 -04:00
rocky
b94cce7b12
Revise format string handling
...
fstring_single{1,2} -> format_value{1,2} to match Python AST names
better
2019-05-13 09:40:32 -04:00
rocky
715bf9cbab
Merge branch 'master' into python-2.4
2019-05-08 06:05:28 -04:00
rocky
733a44e22f
Revise and hopefully improve 3.6+ fstring handling
2019-05-08 06:03:39 -04:00
rocky
76c2883f62
Merge branch 'master' into python-2.4
2019-05-03 23:14:28 -04:00
rocky
4cc53f2307
Python 3.6+ try/else with no trailing END_FINALLY
2019-05-01 09:46:56 -04:00
rocky
d2fccfe357
Merge branch 'master' into python-2.4
2019-05-01 09:18:12 -04:00
rocky
257bbc892f
Better 3.6+ format specification handling
2019-05-01 09:17:35 -04:00
rocky
1727977828
Merge branch 'master' into python-2.4
2019-04-30 23:09:07 -04:00
rocky
fac365f216
Better fstring handling for FORMAT_VALUE | 0x4
2019-04-30 23:05:47 -04:00
rocky
f54cf20d9d
Hacky handling of 3.6 format string 'X'.
2019-04-30 20:06:36 -04:00
rocky
c074107504
Parser fix for 3.6 having long while loops
2019-04-30 15:46:00 -04:00
rocky
7fed369e88
Merge branch 'master' into python-2.4
2019-04-30 05:17:58 -04:00
rocky
a981db884c
Pypy 3.6 tolerance
2019-04-30 05:12:42 -04:00
rocky
5a089c311a
Merge branch 'master' into python-2.4
2019-04-19 06:03:07 -04:00
rocky
e6e60cb49d
3.6 Chained compare
2019-04-17 15:44:33 -04:00
rocky
f36c11d9d7
Merge branch 'master' into python-2.4
2019-04-14 06:13:25 -04:00
rocky
9b550b9dda
PEP E225 with a nod to Deepcommit
2019-04-14 06:11:16 -04:00
rocky
64a4b75ed9
Merge branch 'master' into python-2.4
2019-04-13 23:40:40 -04:00
rocky
5d91e96358
3.6-3.8 "async for" handling...
...
And add an if_stmt rule for 3.8. My want to extend it back to
other versions.
2019-04-13 18:31:40 -04:00
rocky
612a813c7c
Merge branch 'master' into python-2.4
2019-04-10 12:03:39 -04:00
rocky
f3d86e0708
Bang on Python 3.8
2019-04-10 07:22:43 -04:00
rocky
83773846d6
Merge branch 'master' into python-2.4
2019-03-10 14:12:23 -04:00
rocky
3d49b499fb
Move 3.6 return_if_lambda rule back to 3.5
2019-03-10 14:01:57 -04:00
rocky
dcad6cf6ce
Fix if return boundary in 3.6+
...
Fixes #209
2019-03-10 05:59:15 -04:00
rocky
92d6b62d56
Merge branch 'master' into python-2.4
2019-01-26 18:33:39 -05:00
rocky
e1628d4d3a
Possibly addresses issue #215
2019-01-26 18:18:21 -05:00
cclauss
6cbaef4ba5
Travis CI: Run more f-string tests on Python 3.7
2019-01-12 20:24:08 +01:00
rocky
a2321773d7
Fix Python 3.x try/else detection
...
Fixes #155
2019-01-01 22:50:28 -05:00
rocky
189d7c6562
Merge branch 'master' into python-2.4
2018-12-16 02:28:09 -05:00
rocky
a7ceedb62c
Python 3.6+ control flow
2018-12-15 09:17:54 -05:00
rocky
309ccb8734
Merge branch 'master' into python-2.4
2018-07-05 21:50:13 -04:00
rocky
1b71cfef07
3.6 omit END_FINALLY sometimes
...
Fixes #182
2018-07-05 21:47:36 -04:00
rocky
8880568045
Merge branch 'master' into python-2.4
2018-04-29 10:09:03 -04:00
rocky
41a50b5e46
Handle if not else in lambdas...
...
Fixes #170
2018-04-25 12:57:09 -04:00
rocky
0154c87d63
CALL_FUNCTION_EX specialization in 3.6
2018-04-23 18:47:30 -04:00
rocky
a18dc340ce
Start to narrow 3.7 FUNCTION_EX grammar
2018-04-23 15:40:04 -04:00
rocky
3c7d460036
Merge branch 'master' into python-2.4
2018-04-22 04:51:07 -04:00
rocky
ef9ccc3a8c
Fix 3.7 aysnc def testing
2018-04-20 11:15:52 -04:00
rocky
0aa41058a6
customize "async for" on 3.6. and 3.7
2018-04-19 15:03:09 -04:00
rocky
27f67e6fca
Fix some 3.6/3.7 bugs
2018-04-19 10:00:40 -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
ee3f2446f9
Merge branch 'master' into python-2.4
2018-04-16 13:10:16 -04:00
rocky
87b70cfd13
Plough forward on 3.7 CALL_FUNCTION_EX
2018-04-15 14:15:25 -04:00
rocky
9e652f3fc6
More 3.7 grammar rules...
...
largely adapted from 3.6
2018-04-13 14:24:20 -04:00