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
rocky
b57ca392a2
2.7 confusion around "and" vs comprehension "if"
...
Fixes #225
2019-05-08 16:27:41 -04:00
rocky
8187fdf4a6
Merge branch 'master' into python-2.4
2019-05-05 16:10:44 -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
6c3639aef2
Merge branch 'master' into python-2.4
2019-04-16 10:41:17 -04:00
rocky
701d2af54e
Improve Python 2.7 generator handling
2019-04-15 23:14:44 -04:00
rocky
37ac0a3665
Merge branch 'master' into python-2.4
2019-04-15 20:35:01 -04:00
rocky
8a4189bc0e
Python 2.6-2.7ish generator handling
2019-04-15 20:32:15 -04:00
rocky
83773846d6
Merge branch 'master' into python-2.4
2019-03-10 14:12:23 -04:00
rocky
bfceeac6c8
2.7 can have two JUMP_BACKs at the end of a while loop
...
Fixes #215
2019-01-27 21:41:17 -05:00
rocky
92d6b62d56
Merge branch 'master' into python-2.4
2019-01-26 18:33:39 -05:00
rocky
df105fbfb2
Fixed one thing in Python 2.7 and break another.
...
We'll go with this until we get to a more serious refactoring.
2019-01-05 16:38:07 -05:00
Yiming Wang
fbf51a0ae3
Fix when offset like 47_0
2019-01-05 13:33:31 -05:00
Yiming Wang
5d99322078
Better assert and AssertionError determine for Python 2.7
2019-01-05 13:32:08 -05:00
rocky
1a70f75ffc
Pypy 2.7 fixes
...
* pypy doesn't seem to grok sys.stdout.flush() sometimes?
* pypy has extra come_froms for return_if_stmt
2019-01-05 13:28:29 -05:00
rocky
bff171897a
Merge branch 'master' into python-2.4
2018-12-30 12:28:02 -05:00
rocky
fe9beb2fd1
Use raw string in regexp with "\d"...
...
Bump python versions used in testing
2018-12-26 19:06:21 -05:00
rocky
477d73c71d
Merge branch 'master' into python-2.4
2018-06-04 15:29:40 -04:00
rocky
f0176add7a
More bugs - note and disable tests for them
2018-06-04 15:29:04 -04:00
rocky
61466808f5
Merge branch 'master' into python-2.4
2018-05-08 09:18:32 -04:00
rocky
15533c5e38
Fixes #174
2018-05-03 14:56:18 -04:00
rocky
6511cc4dd4
Add Another 2.7.5 "while 1" rule
2018-05-01 04:00:35 -04:00
rocky
de25c5f003
Merge branch 'master' into python-2.4
2018-05-01 03:17:49 -04:00
rocky
fdf97a1cc0
Add if_not rule for Python 2.7
2018-05-01 03:10:46 -04:00
rocky
24011bb0da
Python 2.7.5 tolerance
2018-05-01 02:48:51 -04:00
rocky
8880568045
Merge branch 'master' into python-2.4
2018-04-29 10:09:03 -04:00
rocky
269f4f2e1b
2.6, 2.7 Parse if else inside list comprehension
...
Fixes #171
2018-04-28 20:44:09 -04:00
rocky
f1e48fb60a
while1 grammar rule cleanup
...
Closes #172
2018-04-27 10:57:27 -04:00
rocky
41a50b5e46
Handle if not else in lambdas...
...
Fixes #170
2018-04-25 12:57:09 -04:00
rocky
75f3624f31
Merge branch 'master' into python-2.4
2018-04-01 13:48:16 -04:00
rocky
9d807501af
Grammar reduction for 2.6/2.7,3.x
2018-03-27 17:02:03 -04:00
rocky
ef03d78c4d
Merge branch 'master' into python-2.4
2018-03-21 19:57:59 -04:00
rocky
ff50a7f37b
In 2.7: raise <expr>; expr can't be a "or"
2018-03-20 16:14:53 -04:00
rocky
1da2118e13
Merge branch 'master' into python-2.4
2018-03-05 12:26:45 -05:00
rocky
61534ceed5
Need to back off set_comp change a little...
...
There was set_comp already. So what had been setcomp_func is now
merely set_comp_func rather than set_comp. Small improvement but
in the right direction, still
2018-03-05 11:41:21 -05:00
rocky
9f66694056
dictcomp_func -> dict_comp_func...
...
to match AST better. Also adds a correction in last commit,
including set_comp -> set_comp_expr where apprpriate
Note: can't use dict_comp as that was already used.
But dict_comp_func is matches AST better than dictcomp_func
2018-03-05 11:12:15 -05:00
rocky
2bdfd76635
setcomp_func -> set_comp ...
...
to match AST name more closely
2018-03-05 10:20:14 -05:00
rocky
01f2f6578b
Dictcomp with if for 2.7...
...
extend grammar in last commit to 2.7 which also has dictionary comprehensions
2018-03-05 08:37:09 -05:00