rocky
ddeb5af6d6
compare_chained2 _> compare_chained_right
2023-07-29 12:09:25 -04:00
rocky
4b296e1ead
Correct generator function parsing for 3.3..3.5
2023-06-30 15:43:27 -04:00
James Hilliard
ab508e1ec9
Fix ImportError: cannot import name PYTHON_VERSION
2022-11-05 17:17:24 -04:00
rocky
9b80663529
3.6 async hacking
2022-05-07 07:01:39 -04:00
rocky
dae00e9b0b
More 3.6 "async for"
2022-05-06 15:15:05 -04:00
rocky
cca015c5d6
Use LOAD_ARG in 3.6
2022-05-06 12:53:55 -04:00
rocky
f5043408ec
Start rolling in LOAD_ARG for 3.7+
2022-05-06 02:41:02 -04:00
rocky
8576117d00
Fix More 3.6 async parsing
...
... all from 3.6 test_coroutines.py.
More bugs remain
2022-05-05 07:36:06 -04:00
rocky
c5efec1e6f
Fox some 3.6 async_forelse parsing
2022-05-05 07:09:39 -04:00
rocky
c9f33edde4
Handle 3.6 "async for" better
2022-05-04 19:21:07 -04:00
rocky
9dd4a53ff8
Fix 3.6 async parsing
2022-05-04 04:27:38 -04:00
rocky
219cb0606a
MAKE_FUNCTION_8 -> MAKE_FUNCTION_CLOSURE
...
Clarity is important.
2022-02-27 10:29:53 -05:00
rocky
deea74b6a8
ret_expr -> return_expr
...
This matches Python's AST a little more closely
2022-01-03 21:56:07 -05:00
rocky
15efaffe8d
More Python version tuple comparison conversion
2021-10-16 11:41:22 -04:00
rocky
7deeee8502
Push "with" grammar improvements back to 3.6
2020-06-04 05:53:21 -04:00
rocky
a616e1e1c7
"withstmt" -> "with" and fix async for
2020-04-01 09:48:34 -04: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
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
278af38df6
conditional -> if_exp ...
...
to match Python IfExp AST
2020-02-07 16:17:47 -05:00
rocky
172239f50b
More accurate 3.6 "ifsmt" and "ifelsesmt"
2020-01-16 04:11:12 -05:00
rocky
6f6ef19e0a
Start splitting out reduction checks
2020-01-08 20:25:59 -05:00
rocky
7b76d55e55
Start to fold in 3.7 reduction-rule goodness into 3.6
2020-01-08 19:50:05 -05:00
rocky
f1496cad4d
3.0 return_if_stmt and...
...
* Some grammar cleanup
* add more grammar debugging
2019-11-16 17:32:48 -05:00
rocky
373916f57c
Pypy 3.5 tolerance
2019-11-09 21:56:36 -05:00
rocky
ebb0342b38
WIP pypy3.6 handling
2019-10-28 13:20:51 -04:00
rocky
6675ea2cd0
Control flow yet again
2019-06-15 10:09:13 -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
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
733a44e22f
Revise and hopefully improve 3.6+ fstring handling
2019-05-08 06:03:39 -04:00
rocky
4cc53f2307
Python 3.6+ try/else with no trailing END_FINALLY
2019-05-01 09:46:56 -04:00
rocky
257bbc892f
Better 3.6+ format specification handling
2019-05-01 09:17:35 -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
a981db884c
Pypy 3.6 tolerance
2019-04-30 05:12:42 -04:00
rocky
e6e60cb49d
3.6 Chained compare
2019-04-17 15:44:33 -04:00
rocky
9b550b9dda
PEP E225 with a nod to Deepcommit
2019-04-14 06:11:16 -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
f3d86e0708
Bang on Python 3.8
2019-04-10 07:22:43 -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
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
a7ceedb62c
Python 3.6+ control flow
2018-12-15 09:17:54 -05:00
rocky
1b71cfef07
3.6 omit END_FINALLY sometimes
...
Fixes #182
2018-07-05 21:47:36 -04:00