rocky
5f48a8bf2f
python-3.3-3.5 merge
2022-05-14 14:38:03 -04:00
rocky
3ab9272eb0
Merge branch 'python-3.3-to-3.5' into python-2.4
2022-01-03 22:10:47 -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
f65aac7b97
Merge branch 'master' into python-2.4
2020-07-16 07:11:55 -04:00
rocky
5079164db2
Add reduce check for aug_assign1
2020-07-07 09:54:57 -04:00
rocky
68a145d050
Merge branch 'master' into python-2.4
2020-07-06 18:47:55 -04:00
rocky
54932d36fa
Small tweaks...
...
add-test.py: wasn't handling optimize correctly. Handle python version better
parse27.py: dyslexia
01_for_else_try_else.py: bug in found in 1.4 anydbm.py which we will
address soon
2020-07-06 18:19:06 -04:00
rocky
084e183577
Add reduce check for 2.7 except_handler range
2020-07-05 22:18:07 -04:00
rocky
3dc6c31ae5
Fix bug in detecting 2.7 except-handler ranges
2020-07-05 22:11:37 -04:00
rocky
5d609ae1aa
Merge branch 'master' into python-2.4
2020-06-27 11:17:21 -04:00
rocky
357f28dd89
Add "comp_if_not" for 2.6-
2020-06-27 11:16:47 -04:00
rocky
2fd61b1016
Add 3.7ish "or" check
2020-04-16 16:35:27 -04:00
rocky
b29a008cb3
2.7 or reduce check rule
2020-04-16 16:24:40 -04:00
rocky
0cb0de53ae
Merge branch 'master' into python-2.4
2020-04-01 11:29:10 -04:00
rocky
a616e1e1c7
"withstmt" -> "with" and fix async for
2020-04-01 09:48:34 -04:00
rocky
3bd29b9c9a
Merge branch 'master' into python-2.4
2020-02-15 08:12:52 -05:00
rocky
35127452f5
Bug found by 2.4 sre_parse.py testing
2020-02-15 08:06:58 -05:00
rocky
bac3fea8cd
Merge branch 'master' into python-2.4
2020-02-09 09:55:41 -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
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
2216eb7b01
Merge branch 'master' into python-2.4
2020-02-01 22:29:10 -05:00
rocky
451b18ee57
2.7 tryelse rule check disambiguation.
2020-02-01 04:05:50 -05:00
rocky
be022b3416
Start ifelsestmt reduce checks in Python 2.7
2020-01-31 13:58:06 -05:00
rocky
6466d30e2e
Adjust "ifelsestmt" rule
...
Fixes #305
2020-01-30 19:45:32 -05:00
rocky
7adfc9c2dc
Merge branch 'master' into python-2.4
2020-01-12 10:23:52 -05:00
rocky
c65e5cde70
One more use of except_handler_else
2020-01-07 12:25:00 -05:00
rocky
9a77dfaf95
Use copysign() in 2.6 nuke -0.0 test if < 2.6
2020-01-07 04:39:34 -05:00
rocky
773bbdab0a
Use copysign in 2.6 nuke -0.0 test if < 2.6
2020-01-07 04:37:28 -05:00
rocky
ae148d57e5
Merge branch 'master' into python-2.4
2020-01-06 23:32:31 -05:00
rocky
8e2c290e96
Disambiguate 2.7 "try" and "try/else"
...
will expand to other 2.x versions later
2020-01-06 18:29:10 -05:00
rocky
96270b34d0
Merge branch 'master' into python-2.4
2019-12-14 18:05:28 -05:00
rocky
bc7d7ddf12
Narrow what's excepted for iflastsmtl...
...
Disallow "if" jump to jump inside body of "then".
2019-12-14 17:23:37 -05:00
rocky
495a969ccf
Merge branch 'master' into python-2.4
2019-11-18 18:15:51 -05:00
rocky
cc856e2b95
Refine 2.7 control flow reduction tests...
...
for "iflastsmtl" and "and"
2019-11-18 11:34:06 -05:00
rocky
d696443eb2
More 2.7 reduction checks for conditionals:
...
Specficially for "and" and "laststmtl"
2019-11-18 08:36:28 -05:00
rocky
6659fffc0d
Two Bugs ...
...
2.7: more stringent comparison and comp_if testing
2.6-2.7: fix botched dict constant translation
2019-11-18 06:49:36 -05:00
rocky
2c33a06535
Merge branch 'master' into python-2.4
2019-11-16 18:01:23 -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
efd8fe54b2
Merge branch 'master' into python-2.4
2019-11-10 13:37:14 -05:00
rocky
09cc0d775a
Pypy 3.3 tolerance and ...
...
Remove some duplicate grammar rules
2019-11-10 13:34:51 -05:00
rocky
94c01d395a
Merge branch 'master' into python-2.4
2019-08-24 08:32:21 -04:00
rocky
f8bfde4a8e
Get ready for release 3.4.0
2019-08-24 07:58:42 -04:00
rocky
0574f5302c
Merge branch 'master' into python-2.4
2019-08-05 10:37:29 -04:00
rocky
fd580f3c60
Python 2.6 generator rule with 'and' conditional
...
Fixes #283 .
2019-08-05 10:36:08 -04:00
rocky
145c18fbeb
Merge branch 'master' into python-2.4
2019-06-23 21:14:40 -04:00
rocky
e26c7407a0
Small changes to document some of the complexity.
2019-06-23 20:00:00 -04:00
rocky
c0e8ce22af
Merge branch 'master' into python-2.4
2019-06-23 17:51:21 -04:00
x0ret
e96498eaf0
Adjust ifelsestmtr grammer
2019-06-24 01:28:33 +04:30
rocky
60d96b6a5a
Merge branch 'master' into python-2.4
2019-05-19 17:11:30 -04:00