Commit Graph

1299 Commits

Author SHA1 Message Date
rocky
20af515dda Handle comprehensions inside a lambda 2023-08-11 12:13:46 -04:00
rocky
ddeb5af6d6 compare_chained2 _> compare_chained_right 2023-07-29 12:09:25 -04:00
rocky
c01ab5e001 Tweaks to long-literal handling...
* Use version tuple comparison for version testing
* small lintin of n_actions
* revise test so assert is not removed in 3.8
2023-04-19 02:08:36 -04:00
rocky
22373b4195 Update 2.5 stdlib excludes 2023-04-17 23:35:00 -04:00
rocky
9746b21bbf Update 2.7 literal test 2023-04-17 23:20:42 -04:00
Andre Eberle
4d420e2e37 Typo in comments 2023-04-17 19:26:35 -04:00
Andre Eberle
d1ef91dd49 Added tests for issue #439, global/const issues 2023-04-17 19:20:37 -04:00
rocky
ad00b9a4ee Use xdis pattr extraction for LOAD_NAME 2023-04-15 07:31:35 -04:00
rocky
551e428086 Go over stdlib test for 2.{6,7} 2023-04-08 22:10:21 -04:00
rocky
a20972dd12 xdis PYTHON_VERSION removal 2023-02-26 19:29:08 -05:00
rocky
154dabfcef Handle Python 3.4 MAKE_CLOSURE fns ...
Is done just like Python 3.3
2023-01-14 09:54:48 -05:00
rocky
207dc0b506 opc field in while1 reduction is off of token...
not self (parse)
2022-11-05 19:20:16 -04:00
rocky
5b3ea47bac Correct long-literals for Python 2.7 2022-10-16 19:33:51 -04:00
rocky
bb9b9fb4b3 Improve "if/else" in "for" test 2022-10-16 18:24:48 -04:00
Berbe
512c500810
Add: Tests: CONTINUE in else block in a for loop 2022-10-10 20:33:19 +02:00
rocky
ae46ccf6d3 Go over 2.7 stdlib exclusions 2022-09-30 20:09:41 -04:00
rocky
a1cc0aab37 Move test: all() not in 2.4 2022-09-30 03:45:24 -04:00
rocky
600688a65d Sync with decompyle3 2022-09-17 10:54:09 -04:00
rocky
a68f440d6f Sync with decompyle3
Better PyPy 3.7 tolerance
2022-09-17 01:59:42 -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
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
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
5a4136a7f6 Some limited support for 3.8 "=" specifier 2022-07-06 13:00:52 -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
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
9b80663529 3.6 async hacking 2022-05-07 07:01:39 -04:00
rocky
cc47d61efa Better 3.6 set comprehensions 2022-05-06 07:30:56 -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
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
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
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
a356a8e0ee Reinstante pyenvlib 2022-04-27 03:39:05 -04:00
rocky
d48801964c Use attr insead of pattrr for non-strings 2022-04-26 03:13:27 -04:00
rocky
e564ac3ab1 Go over long-literal test 2022-04-24 17:50:32 -04:00
rocky
8cdf741b62 Bugs in long-literal handlin
Move n_dict to n_actions and special case n_const_list.
Generalize build_collection out of 3.7+ and into all Pythons
2022-04-24 17:38:35 -04:00
rocky
371138cfbc handle long literal constants faster 2022-04-24 13:11:20 -04:00
rocky
f3ac70d0ea test tweak again 2022-04-21 05:34:15 -04:00