rocky
504164fcea
Merge branch 'master' into python-2.4
2019-06-12 13:08:30 -04:00
rocky
622d6f849c
Merge branch 'master' into string-const
2019-06-09 01:20:53 -04:00
rocky
2995acb8d9
Merge branch 'master' into python-2.4
2019-06-08 18:57:08 -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
44d7cbcf6f
LOAD_CONST->LOAD_STR for Python 3.x
2019-06-08 02:28:27 -04:00
rocky
60d96b6a5a
Merge branch 'master' into python-2.4
2019-05-19 17:11:30 -04:00
rocky
46acb74745
Only add forward-jumping COME_FROM in 3.6+
...
Is this a repeat commit?
2019-05-14 06:28:29 -04:00
rocky
44e1288e2f
Less dishonest COME_FROMs
...
Addresses all of the problems seen in 3.7 datetime.py.
However we limit COME_FROMs only to forward jumps, not back (which in the case of Python code right now means looping) jumps.
2019-05-13 23:15:55 -04:00
rocky
86dd321256
Accept x0ret's suggestion for 3.6+ if detection..
...
in the presense of a try block.
Fixes #229
2019-05-10 19:36:16 -04:00
rocky
c6bdfdd592
Merge branch 'master' into python-2.4
2019-04-23 11:54:58 -04:00
rocky
05db6194ec
Use up right 3.x opcodes in jump detection...
...
A small but pervasive, and I guess important change. More correct COME_FROMs
are now coming out. A number of grammar changes then in 3.0, 3.5, and 3.8
2019-04-23 05:14:29 -04:00
rocky
f36c11d9d7
Merge branch 'master' into python-2.4
2019-04-14 06:13:25 -04:00
rocky
9b550b9dda
PEP E225 with a nod to Deepcommit
2019-04-14 06:11:16 -04:00
rocky
64a4b75ed9
Merge branch 'master' into python-2.4
2019-04-13 23:40:40 -04:00
rocky
5e1340a2fc
3.8 exception handling
2019-04-11 12:09:24 -04:00
rocky
7f65a8a6dd
3.8 SETUP_EXCEPT removal workaround; reinstate option -c | --compile
2019-04-11 07:19:35 -04:00
rocky
612a813c7c
Merge branch 'master' into python-2.4
2019-04-10 12:03:39 -04:00
rocky
82fb9426af
[WIP] - move forward a tad on Python 3.8
2019-03-28 12:10:08 -04:00
rocky
a4ae9a39af
Merge branch 'master' into python-2.4
2019-03-23 18:26:47 -04:00
rocky
cd64156708
Fix else detection bug in Python 3.6+
2019-03-23 08:57:34 -04:00
rocky
83773846d6
Merge branch 'master' into python-2.4
2019-03-10 14:12:23 -04:00
rocky
dcad6cf6ce
Fix if return boundary in 3.6+
...
Fixes #209
2019-03-10 05:59:15 -04:00
rocky
92d6b62d56
Merge branch 'master' into python-2.4
2019-01-26 18:33:39 -05:00
rocky
a2321773d7
Fix Python 3.x try/else detection
...
Fixes #155
2019-01-01 22:50:28 -05:00
rocky
acd0e5fea6
Note weirdness in try/else
2019-01-01 09:40:59 -05:00
rocky
189d7c6562
Merge branch 'master' into python-2.4
2018-12-16 02:28:09 -05:00
rocky
a7ceedb62c
Python 3.6+ control flow
2018-12-15 09:17:54 -05:00
rocky
96c9a67554
Merge branch 'master' into python-2.4
2018-06-25 13:14:24 -04:00
rocky
c6b3e20b47
Remove some of the 3.0 3.x instruction hackiness
2018-06-24 18:23:38 -04:00
rocky
4cbd136635
Make Python 3.0 control flow more like 3.x
2018-06-24 12:56:43 -04:00
rocky
53b471a3df
Merge branch 'master' into python-2.4
2018-06-12 15:05:40 -04:00
rocky
d32e67891b
More 3.0 bug fixing and tollerance and...
...
add some 1.4 bytecode tests
2018-06-12 12:19:43 -04:00
rocky
2b730628d5
Merge branch 'master' into python-2.4
2018-06-12 08:31:13 -04:00
rocky
600e56b1d7
Better "continue" detection on Python 3.0
2018-06-12 04:47:29 -04:00
rocky
3c7d460036
Merge branch 'master' into python-2.4
2018-04-22 04:51:07 -04:00
rocky
c481d97866
A more uniform way to track opcodes seen...
...
use a set rather than these boolean variables. Done in 3.x
only for now. May do more later..
2018-04-18 12:01:46 -04:00
rocky
ee3f2446f9
Merge branch 'master' into python-2.4
2018-04-16 13:10:16 -04:00
rocky
1890aad660
Small 3.7 steps
2018-04-13 07:26:32 -04:00
rocky
3116ac8323
Merge branch 'master' into python-2.4
2018-04-08 05:27:16 -04:00
rocky
68821efdb0
Improve 3.5+ BUILD_MAP_UNPACK...
...
And add build_tuple_unpack runtime test from a previous commit.
We are far from out of the woods, as there is more to do and
we've uncovered more bugs in handling this.
2018-04-06 21:34:31 -04:00
rocky
ff9ae4e792
Better handling of BUILD_TUPLE_UNPACK
2018-04-06 11:35:41 -04:00
rocky
d9eb5c5b09
Start folding in 3.5 vararg ops as varargs ops
2018-04-05 23:02:45 -04:00
rocky
19bb16270d
Merge conflicts
2018-04-03 10:56:27 -04:00
rocky
35c41f8065
Merge branch 'master' into python-2.4
2018-04-03 10:55:51 -04:00
rocky
1cd2d1e915
DRY scanner code more...
...
Expand 2.6 testing
2018-04-03 10:35:02 -04:00
rocky
fad43feb3d
DRY instruction building code...
...
There is a little more that could be done with self.offset2inst_index
2018-04-03 04:41:36 -04:00
rocky
75f3624f31
Merge branch 'master' into python-2.4
2018-04-01 13:48:16 -04:00
rocky
f18ce71e91
Replace all_instrs with inst_matches...
...
which works on 3.6+. Still should write a pytest for this.
2018-03-29 21:23:26 -04:00
rocky
d90c44b454
3.5+ handle then before "if" jump going to loop
2018-03-27 19:24:29 -04:00
rocky
de75849ae3
Merge branch 'master' into python-2.4
2018-03-26 14:52:01 -04:00