gdesmar
|
20d0a60550
|
Remove duplicate code of print_docstring
|
2024-10-10 20:24:56 +00:00 |
|
rocky
|
4394d46f64
|
Remove redundant list_comp() fn
|
2024-07-11 20:16:03 -04:00 |
|
rocky
|
08009f9fc7
|
improve list comprehensions
|
2024-02-25 08:19:18 -05:00 |
|
rocky
|
9fd139a41d
|
changes from other branches
|
2024-02-24 18:26:37 -05:00 |
|
rocky
|
8a1fd7e127
|
Keep optype info in token...
It is useful for ADD_VALUE
|
2024-02-24 17:41:32 -05:00 |
|
rocky
|
5a367717fa
|
Merge hell
|
2024-02-24 10:14:31 -05:00 |
|
rocky
|
f94100d24c
|
sync with decompile3
|
2024-02-17 15:09:00 -05:00 |
|
rocky
|
3ef4ab4944
|
Prefer using double quote for strings
|
2024-02-17 12:57:48 -05:00 |
|
rocky
|
02ed25e7cb
|
Bugs found in 3.0 decomplation...
parsers/parse30.py; fix set comprehension grammar bug
uncompyle6/semantics/n_actions.py: evidence of the evils of modifying node data (via node.pop)
|
2024-02-12 00:58:42 -05:00 |
|
rocky
|
9829e04611
|
Bug in collection printing ...
`"%s" % value` can fail if value is a tuple
|
2023-08-17 19:35:08 -04:00 |
|
rocky
|
99f054ea9d
|
Forgot to include 3.3 in recent generator fix
|
2023-07-01 23:22:57 -04:00 |
|
rocky
|
d6608712f1
|
correct fn name on older 3.x cross decompile...
Also black, lint, and isort some
|
2023-06-30 20:30:06 -04:00 |
|
rocky
|
4b296e1ead
|
Correct generator function parsing for 3.3..3.5
|
2023-06-30 15:43:27 -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 |
|
Andre Eberle
|
54776275c0
|
Modified n_actions.py to issue __repr__ on py2 and __str__ py3, should fix the extra quotes
|
2023-04-18 00:12:00 -04:00 |
|
rocky
|
7ad0c37c62
|
Correct a couple of bugs...
We weren't distinguising relative imports from absolute imports.
Fixes #444
Picking out docstring was broken too.
|
2023-04-17 16:35:27 -04:00 |
|
rocky
|
50697bb79e
|
Improve set comprehension for Python 3.0
|
2023-01-16 03:40:55 -05:00 |
|
rocky
|
f59d0bf306
|
Misc lint
|
2022-11-04 03:54:01 -04:00 |
|
rocky
|
4959c76694
|
More 3.0 list comprehension bug fixes
|
2022-11-04 02:05:34 -04:00 |
|
rocky
|
5b3ea47bac
|
Correct long-literals for Python 2.7
|
2022-10-16 19:33:51 -04:00 |
|
rocky
|
0c7427069e
|
strings need quotes in ADD_VALUE instructions
|
2022-09-30 03:33:47 -04:00 |
|
rocky
|
9b80663529
|
3.6 async hacking
|
2022-05-07 07:01:39 -04:00 |
|
rocky
|
d62310f799
|
Correct 3.6ish dictionary literals printing
|
2022-05-03 12:19:43 -04:00 |
|
rocky
|
5e1ba2baa1
|
Split long lines in n_const_list
|
2022-04-28 18:03:15 -04:00 |
|
rocky
|
c25fa61e33
|
Start handling BUILD_MAP (a class of dict)
|
2022-04-26 15:37:42 -04:00 |
|
rocky
|
d48801964c
|
Use attr insead of pattrr for non-strings
|
2022-04-26 03:13:27 -04:00 |
|
rocky
|
4879a60ecc
|
Some bugs creating token stream ..
from instructions.
|
2022-04-25 17:39:39 -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
|
c88d9de316
|
Correct 3.7 "impor"t and "from .. import"
|
2022-04-20 20:03:28 -04:00 |
|
rocky
|
e2ff909603
|
Split off (semantic) nonterminal print actions
|
2022-04-19 16:42:48 -04:00 |
|