rocky
605721c995
Python 3.x control-flow bug...
...
"pass" statement inside "while True"
2017-05-07 09:10:05 -04:00
rocky
4a47822904
Fix more Python3.2 parser errors
2017-05-06 05:25:56 -04:00
rocky
246495febd
Bang more on BUIlD_MAP_UNPACK
...
there are still bugs. Note:
{**{'x': 1}, **{'y': 2}} and
{{'x': 1}, **{'y': 2}}
generate the same Python 3.5+ bytecode.
2017-05-02 21:55:41 -04:00
rocky
91b86ac156
BUILD_MAP_UNPACK'ing of dictionaries in 3.5
2017-05-02 05:51:48 -04:00
rocky
364827a2f2
Handle BUILD_MAP_UNPACK in a build_list
2017-04-29 21:44:52 -04:00
rocky
84fd71b73b
Python 3.6 CALL_FUNCTION_EX first attempt
2017-04-25 07:31:01 -04:00
rocky
87db833f62
Add await expr
...
Fixes #111
2017-04-22 10:39:20 -04:00
rocky
e5008693a1
3.3+ bug in handling single kwarg after *
...
Towards fixing issue #110
2017-04-22 04:19:04 -04:00
rocky
810649799c
Add async for with pass statement
...
Fixes #109
2017-04-20 12:39:15 -04:00
rocky
d4be647bce
3.5 ifelsestmtl grammar bug.
...
Fixes #108
2017-04-19 05:08:48 -04:00
rocky
4a898ff4c1
Expand await stmt handling
...
Fixes #107
2017-04-18 01:51:23 -04:00
rocky
cb6925beec
Add DELETE_DEREF grammar rule
...
Fixes Issue #106
2017-04-18 01:35:08 -04:00
rocky
2665f292c5
Rename test case to something more appropriate
2017-04-17 05:43:50 -04:00
rocky
33be34c6fb
Fix botched test case
...
Thanks to Zm908 for pointing this out
2017-04-17 05:35:43 -04:00
rocky
3a8d4e1a12
Python 3.x ifelse in comprehension
...
Fixes Issue #91
2017-04-16 14:47:11 -04:00
rocky
5477ca294d
Correct bug in 3.5+ build_list with UNPACK
2017-04-15 22:34:56 -04:00
rocky
8a33a583cd
3.6 generates Wonky EXTENDED_ARG in expression
...
Fixes Issue #102
2017-04-15 18:31:39 -04:00
rocky
03498963d4
Python 3.5+ BUILD_UNMAP_PACK rules
...
Towards addressing Issue #98
2017-04-14 23:39:56 -04:00
rocky
39b9810587
Better names for a test
2017-04-14 05:05:02 -04:00
rocky
8cdaac93ab
Add if1else. Fixes #101
2017-04-13 21:27:22 -04:00
rocky
bb24df596d
Bang on 3.x annotations
2017-04-11 17:09:10 -04:00
rocky
6acec471e3
Towards fixing annotated decorator functions...
...
and annotate functions
2017-04-11 05:56:20 -04:00
rocky
9e34654b38
Add more while1else grammar rules
...
Towards addressing issue #93
2017-04-10 02:47:46 -04:00
rocky
792df2a7a7
Another Python 3.5 FUNCTION_VAR bug
...
Fixes #94
2017-04-09 06:54:32 -04:00
rocky
4199bc7f61
Fix Python 3.5 CALL_FUNCTION_VAR_KW
...
Fixes Issue #95
2017-04-09 05:30:45 -04:00
rocky
4e05c741e3
grammar typo and add another test
2017-03-15 03:59:07 -04:00
rocky
ea1651d8ca
More accurate ranges of try blocks in 3.x
2017-03-05 00:03:01 -05:00
rocky
a0c090932e
Bug found by hypothesis in creating function calls
2017-03-04 11:49:09 -05:00
rocky
cf21fff38b
Predidence of cmp_list: x == y == z
...
The x, y, z should not have parenthesis around pairs of them
(x == y) or (y == z)
2017-02-28 01:25:33 -05:00
rocky
0a6c8ba909
Python 2.6 control flow bug with added COME_FROM
2017-02-24 21:29:28 -05:00
rocky
d3904527e6
Python 2.5 wasn't handling tryelse properly
2017-02-22 05:38:30 -05:00
rocky
aa207a3c77
Add test for last while1 bug fix
2017-02-20 09:15:39 -05:00
rocky
9491c67779
More COME_FROM's in Python 3...
...
Need this to find boundaries of simple if better
2017-02-20 04:17:46 -05:00
rocky
222986640e
Merge branch 'coverage'
...
Beef up coverage
2017-02-10 02:09:28 -05:00
rocky
31ed869a6f
Beef up grammar coverage
2017-02-10 02:03:28 -05:00
rocky
19d2569515
Changes based on grammar coverage info
2017-01-29 23:01:12 -05:00
rocky
e71dd010d7
Simplfy getting coverage
...
consts.py: notes on versions use which ops
2017-01-29 21:39:29 -05:00
rocky
dadd1c5c45
Add --coverage to test_pyenvlib and ...
...
improve grammar coverage on 2.7
2017-01-29 18:06:07 -05:00
rocky
a760188724
Improve BUILD_xxx_UNPACK slightly
2017-01-10 04:36:28 -05:00
rocky
ad345ef94a
Add async_call_function for 3.5+
2017-01-09 07:03:51 -05:00
rocky
3f40c16587
Fix 3.5, 3.6 while true if/break bug
2017-01-08 15:54:49 -05:00
rocky
21023fea74
Add 3.5+ async with/for ..
...
scanner3.py: 3.6 bytecode vs wordcode fix
2017-01-08 08:54:03 -05:00
rocky
66741d16ba
Start to add 3.5+ await and async
2017-01-07 21:36:37 -05:00
rocky
e02ebef45d
More Python 3 annotation bugs
2017-01-07 10:27:42 -05:00
jiangpch
eb64a03dfa
add testcases for tuple assignment
2016-12-26 19:22:57 +08:00
rocky
c7c0a98982
Python 2.5 mistaken try/else
2016-12-18 00:56:07 -05:00
rocky
08dcc7d820
Start to handle 3.5 build_map_unpack_with_call
...
3.6 also started but needs even more work
2016-12-16 20:39:24 -05:00
rocky
97576e473d
Python 3 while/else bug
2016-11-27 07:06:20 -05:00
rocky
1e324e0e8d
Misc changes
...
scanner26.py: make scanner2.py and scanner26.py more alike
scanner2.py: check that return stmt is last in list. (May change)
main.py: show filename on verify error
test/*: add more
2016-11-26 21:41:45 -05:00
rocky
805e17988e
Fix bug in docstring triple quotes
...
Problem was not escaping """ inside """.
Use ''' when possible; and when not, use: \"\"\".
2016-11-20 12:21:56 -05:00