rocky
065fd13b81
Small tweaks
2019-11-12 17:04:35 -05:00
rocky
659f37585b
Bug in 3.0 rule in "jump_absolute_else" ...
...
and disallowing "else" to the wrong place.
2019-11-12 16:31:43 -05:00
rocky
144f52da8e
More 3.0 control flow pattern fixups
2019-11-12 06:08:30 -05:00
rocky
9f250b49ee
Cope more JUMP/POP_IF not being in 3.0...
...
more is probably needed though.
2019-11-11 19:58:35 -05:00
rocky
4abdffecb9
More 3.0 control-flow rules...
...
Much more is needed though
2019-11-11 19:07:58 -05:00
rocky
1419acf019
More Python 3.0 for JUMP elimination ...
...
here, in except blocks.
2019-11-11 13:50:48 -05:00
rocky
bdc24d7f51
Add 3.0 gen_comp_body rule.
2019-11-11 05:10:54 -05:00
rocky
07ec8fa1fb
More Python 3.0 custom "if" statment handling.
2019-11-10 18:44:43 -05:00
rocky
04c2240d63
Python 3.0 if/else handling
2019-11-10 17:23:33 -05:00
rocky
4f0e580438
Update testenv pypy 3.6
2019-11-10 13:44:52 -05:00
rocky
373916f57c
Pypy 3.5 tolerance
2019-11-09 21:56:36 -05:00
rocky
6d296f11c9
Add another 3.8 test
2019-10-31 07:13:41 -04:00
rocky
40c2f2962c
Try expanding 3.8 testing
2019-10-30 19:36:42 -04:00
rocky
eed4c1025b
Pypy 3.6 tolerance
2019-10-30 11:44:04 -04:00
rocky
61a367b0ae
Don't test 3.8 except on 3.8 for now
2019-10-29 13:46:04 -04:00
rocky
dba6d24361
3.8 for block without a POP_BLOCK ...
...
and confusing JUMP_BACK for CONTINUE. Expect more like this.
Fixes #293
2019-10-29 13:32:43 -04:00
rocky
c666e2dc3d
Remove pypy 3.6 testing for now
2019-10-29 12:08:00 -04:00
rocky
0a5fcc51d8
Pypy 3.6 fixes and tests
2019-10-29 11:43:09 -04:00
rocky
ade9f7a182
Add Pypy 3.6 file for showing unmarshal problem
2019-10-28 20:58:42 -04:00
rocky
d41ef3e5dc
Pypy 3.6 tolerance
2019-10-28 14:46:45 -04:00
rocky
ebb0342b38
WIP pypy3.6 handling
2019-10-28 13:20:51 -04:00
rocky
d08d183fc8
bytecode 1.6 test omission
2019-10-12 19:58:01 -04:00
rocky
0b3d6b8add
Get ready for release 3.5.0
2019-10-12 19:53:17 -04:00
rocky
0cf32f1b70
Better 1.5 parameter tuple handling...
...
Tidy README.rst
2019-10-10 17:20:00 -04:00
rocky
9bd85fe5a0
Correct assert{,2} transforms
...
Fixes #289
2019-09-23 08:26:16 -04:00
rocky
f8bfde4a8e
Get ready for release 3.4.0
2019-08-24 07:58:42 -04:00
rocky
4a4a20995e
Update runtests.sh...
...
for 2.6 and 2.7. More work is needed. Start count of skipped tests.
2019-08-12 11:24:07 -04:00
rocky
c923ce9afe
Tweak runtests.sh so it works on 2.6
2019-08-11 22:00:28 -04:00
Grigory Trenin
31f7d14eab
Test case for #284
2019-08-12 02:09:51 +03:00
rocky
fd580f3c60
Python 2.6 generator rule with 'and' conditional
...
Fixes #283 .
2019-08-05 10:36:08 -04:00
x0ret
2e01f42f65
Fixes #278
2019-07-14 01:12:42 +04:30
rocky
44a4aab0a7
Use black to reformat some files
2019-07-04 09:56:50 -04:00
rocky
f425db33b7
except_cond3 needs to be in 2.x
2019-07-03 19:16:09 -04:00
rocky
e55a0410c9
weak-verify -> syntax-verify. More bytecode tests
2019-07-01 10:23:43 -04:00
R. Bernstein
0fe8961418
Merge pull request #269 from rocky/if-elif-else-more
...
If elif else more
2019-07-01 09:52:11 -04:00
rocky
4c76931807
Update tests related to branch
2019-06-30 18:20:40 -04:00
rocky
32c7b8f23d
Add tests for x0ret's recent varrg fixes
2019-06-29 15:50:47 -04:00
rocky
999f1fb0f9
Mostly x0ret's while(1)/if fixes ..
...
plus a potential test
2019-06-29 07:01:45 -04:00
rocky
0dc19a8fdd
Correct 3.4 "yield from" semantic action bug
2019-06-29 04:59:03 -04:00
rocky
e2d7f01298
Handle 2-arg asserts in 3.6+ish
...
Changed files have also been reformatted via the blacken formatter
2019-06-18 22:09:16 -04:00
rocky
58c8fe5a66
Oops - forgot to add the test source
2019-06-11 16:09:04 -04:00
rocky
aea1adeb85
Reinstate test
2019-06-11 16:04:29 -04:00
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
rocky
24ba5d7f40
One more LOAD_CONST->LOAD_STR remnant and...
...
We're good to go!
All function signatures seem to be working! YAY!
Credit goes to x0ret
2019-06-09 18:20:05 -04:00
rocky
9ab086b207
Add more x0ret tests
2019-06-09 15:19:01 -04:00
rocky
c8fc6a704c
LOAD_CONST->LOAD_STR bugs and 3.4 kwargsonly
2019-06-09 02:18:21 -04:00
rocky
86fd5dbf7a
3.3-3.4 pos kwargs ordering
2019-06-08 18:40:50 -04:00
rocky
117b4ff4f1
Add kwonly parsing.
...
* annotation parsing for kwonly args is missing.
* Start filling out runnable tests. More work is needed on tests.
* refresh incorrect bytecode_3.3_run/15_assert.pyc
2019-06-08 15:29:18 -04:00
rocky
9bae73679f
Reinstate 3.6. docstring test
2019-06-07 12:32:21 -04:00
rocky
ceebe9ab60
Add x0ret's annotation test on 3.6
2019-06-07 04:56:03 -04:00