rocky
04df8a98fb
uncompyle6.disasm -> uncompyle6.code_fns
2022-09-16 15:46:46 -04:00
rocky
4b2a2e218a
Misc lint stuff from pycharm...
...
that has been applied to decompyle3 already
2022-09-16 15:38:13 -04:00
rocky
4260deea11
Tidy ifelsemstmt check
2022-08-29 05:46:46 -04:00
R. Bernstein
200250df56
Merge pull request #406 from tangboxuan/master
...
Fix offset of extended argument instruction
2022-08-24 05:51:41 -04:00
rocky
765b0149ea
iftstmt reduce rule for 2.6:
...
In ifsmt there can be a JUMP_ABSOLUTE right before the endif and a jump
the endif doesn't fall through to the place after the endif.
2022-08-24 05:33:22 -04:00
Bo Xuan
2f3b5e53d4
Add test case
2022-08-24 16:19:39 +08:00
rocky
3cc51aa37f
Reduce 2.6 excluded tests
2022-08-23 21:51:33 -04:00
R. Bernstein
19152e7ed8
Merge pull request #407 from rocky/python-2.6-if-fixup
...
Push reducechecks from 2.7 into 2.6
2022-08-23 21:41:16 -04:00
rocky
71b1446c9c
Push reducechecks from 2.7 into 2.6
...
Some adaption is needed. These rules may also help earlier 2.x Python as well
2022-08-23 21:36:55 -04:00
rocky
14aa0ce8f0
sort a list
2022-08-23 20:17:06 -04:00
rocky
dfd8762dbd
Update 2.6 exclude list
2022-08-23 17:26:45 -04:00
rocky
21b4d52a77
Correct 2.6 erroneous ifelse detection
2022-08-23 16:50:50 -04:00
rocky
9da3e4b3c0
For some 2.6 test PYTHON needs to be set to pytest
2022-08-23 08:11:06 -04:00
rocky
d73d0dd11a
PYTHON_VERSION -> PYTHON_VERSION_TRIPLE
2022-08-23 06:54:23 -04:00
Bo Xuan
81633b3c1c
Fix offset of extended argument instruction
2022-08-23 14:18:31 +08:00
rocky
4120213710
Update link which has gone stale
2022-08-14 20:32:47 -04:00
rocky
610f2c827c
Remove 3.6-specific iflastsmt reduce check
...
Fixes #344
2022-07-07 06:54:05 -04:00
rocky
5a4136a7f6
Some limited support for 3.8 "=" specifier
2022-07-06 13:00:52 -04:00
rocky
cc4ea47d24
Use ifelsetmt reduction rule on 2.7
2022-07-04 07:56:44 -04:00
rocky
85ba8352ba
Port over some recent decompyle3 3.8 fixes
2022-06-26 04:26:15 -04:00
rocky
7f798541f0
Python 3.8 while and whileTrue loops
2022-06-16 15:42:51 -04:00
rocky
7fb483c566
Sync up with decompile3's 3.8 try/else handling
2022-06-08 12:49:23 -04:00
rocky
6597737709
Merge branch 'master' of github.com:rocky/python-uncompyle6
2022-05-28 15:48:28 -04:00
rocky
c08ab41afd
Go over what constitutes a bug, yet again
2022-05-28 15:45:51 -04:00
rocky
2cc58fec97
Note narrowing bug
2022-05-21 12:30:21 -04:00
rocky
8f7f0be7fa
Administrivia
...
Workflows CI: go back to released versions rather than github versions
pyenv-newest-versions: updaed to use newest Python releases
pypy38.py: fix wrong package name import
3.6-exclude.sh: update and advance
2022-05-20 06:44:20 -04:00
rocky
3f4e85695e
Reduce 3.7 exclusion tests
2022-05-14 22:24:25 -04:00
rocky
5c29b9a5e5
remove \n in lambda; 2.6 grammar cleanup
2022-05-14 20:28:24 -04:00
rocky
fa9cc4c669
Correct 2.5-7 relative import formatting
2022-05-14 19:35:24 -04:00
rocky
656a9aa290
Bugs in 2.x relative import '.' and 1.x bytecode
2022-05-14 17:46:48 -04:00
rocky
021810bb2c
Correct 2.x formatting "slice2" nonterminal
2022-05-14 16:54:50 -04:00
rocky
223804ac1f
semi-black scanner26.py
2022-05-14 09:51:50 -04:00
rocky
3a9fa652b4
Partial sync of 3.7 & 3.8 scanner with decompyle3
2022-05-14 08:42:04 -04:00
rocky
87fb83de08
Add missing 3.7 "import_from37" template
2022-05-14 02:59:15 -04:00
R. Bernstein
fbe4be3bb0
Merge pull request #399 from rocky/genexpr-3.6
...
3.6 async hacking
2022-05-07 07:10:33 -04:00
rocky
9b80663529
3.6 async hacking
2022-05-07 07:01:39 -04:00
rocky
dae00e9b0b
More 3.6 "async for"
2022-05-06 15:15:05 -04:00
R. Bernstein
3cbe7ba5d7
Merge pull request #398 from rocky/LOAD_ARG_for36
...
Use LOAD_ARG in 3.6
2022-05-06 13:45:52 -04:00
rocky
cca015c5d6
Use LOAD_ARG in 3.6
2022-05-06 12:53:55 -04:00
rocky
cc47d61efa
Better 3.6 set comprehensions
2022-05-06 07:30:56 -04:00
R. Bernstein
b421b00b53
Merge pull request #397 from rocky/LOAD_ARG
...
Classify LOAD_ARG as LOAD_FAST of .0
2022-05-06 03:06:19 -04:00
rocky
92b8d9c508
Grammar lint adjustments
2022-05-06 03:02:30 -04:00
rocky
f5043408ec
Start rolling in LOAD_ARG for 3.7+
2022-05-06 02:41:02 -04:00
rocky
8576117d00
Fix More 3.6 async parsing
...
... all from 3.6 test_coroutines.py.
More bugs remain
2022-05-05 07:36:06 -04:00
rocky
c5efec1e6f
Fox some 3.6 async_forelse parsing
2022-05-05 07:09:39 -04:00
rocky
f9a1f6fcd9
Sync 3.7 async_forelse with decompyle3
2022-05-05 06:47:49 -04:00
rocky
c9f33edde4
Handle 3.6 "async for" better
2022-05-04 19:21:07 -04:00
rocky
9dd4a53ff8
Fix 3.6 async parsing
2022-05-04 04:27:38 -04:00
rocky
d62310f799
Correct 3.6ish dictionary literals printing
2022-05-03 12:19:43 -04:00
rocky
ac862b4566
In Python 2.2- preserve line numbers
2022-05-03 07:15:18 -04:00