Commit Graph

3202 Commits

Author SHA1 Message Date
Bo Xuan
2f3b5e53d4
Add test case 2022-08-24 16:19:39 +08: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
rocky
e94e9379c0 Bang on version 1.0-1.4 Python 2022-05-02 22:03:52 -04:00
rocky
5df57489b4 CI woes - need new xdis
Remove 1.0 os.pyc until I can investigate.
It works locally though
2022-04-30 20:50:28 -04:00
rocky
9aba1cc3af Bytecode 1.x fixes 2022-04-30 20:36:43 -04:00
rocky
eba0d37d0f Improve Python 1.x decompiling
Still has bugs, but is much better.
2022-04-30 05:54:22 -04:00
rocky
5e1ba2baa1 Split long lines in n_const_list 2022-04-28 18:03:15 -04:00
rocky
f35231a6f5 Correct bug in long literal replacement for 2.6-7 2022-04-28 17:28:09 -04:00
rocky
37ea469ce6 One more 2.4 test 2022-04-28 17:11:17 -04:00
rocky
8e5faa933f Handle long 2.x bytecode literals more efficiently 2022-04-27 13:47:56 -04:00
rocky
cfd6166d8d Small doc corrections 2022-04-27 05:07:07 -04:00
rocky
a356a8e0ee Reinstante pyenvlib 2022-04-27 03:39:05 -04:00
rocky
152de50f90 Revise docstring explaiing pydisassemble 2022-04-26 18:12:26 -04:00
rocky
1c49eb5989 Revise what pydisassemble is about 2022-04-26 18:09:16 -04:00
rocky
c25fa61e33 Start handling BUILD_MAP (a class of dict) 2022-04-26 15:37:42 -04:00