rocky
|
e65a2db971
|
Small tweak
|
2024-02-03 18:40:38 -05:00 |
|
rocky
|
9f9074c285
|
Add a type annotation
|
2024-02-03 15:43:07 -05:00 |
|
rocky
|
9772454a3b
|
Sync fragments with decompyle3
|
2024-02-03 15:28:48 -05:00 |
|
rocky
|
f7caf9b675
|
Remove strayh blank line
|
2024-02-03 15:15:55 -05:00 |
|
rocky
|
5f29d14608
|
Fix --linemap option, yet again.
|
2024-02-03 15:08:58 -05:00 |
|
rocky
|
db6c7159f8
|
lint
|
2024-02-03 14:47:08 -05:00 |
|
rocky
|
d249c522a7
|
Fix up linemap option
|
2024-02-03 12:37:48 -05:00 |
|
Jakub Wilk
|
7a2348e4cc
|
Fix typos
|
2024-01-19 23:20:13 +01:00 |
|
rocky
|
dcc9d1a571
|
Fix spelling via "codespell"
|
2023-12-17 10:52:32 -05:00 |
|
rocky
|
0ea75cadca
|
Small bit of linting
|
2023-10-06 02:44:41 -04:00 |
|
rocky
|
803678e9b4
|
Track recent xdis changes
|
2023-08-26 14:39:42 -04:00 |
|
rocky
|
20c58e2e2a
|
Small semantic action acceptance change
|
2023-08-26 14:15:23 -04: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
|
c0957d956f
|
Simpilfy grammar via ending_return
|
2023-08-13 07:50:13 -04:00 |
|
rocky
|
b3ddf95d7a
|
comprehension in lambda for 3.0 & 3.1
|
2023-08-12 07:12:10 -04:00 |
|
rocky
|
20af515dda
|
Handle comprehensions inside a lambda
|
2023-08-11 12:13:46 -04:00 |
|
rocky
|
8865599145
|
Fixes #467
|
2023-08-09 04:48:42 -04:00 |
|
rocky
|
3a178836a6
|
Fix a small default-value bug
|
2023-07-29 13:00:21 -04:00 |
|
rocky
|
ddeb5af6d6
|
compare_chained2 _> compare_chained_right
|
2023-07-29 12:09:25 -04:00 |
|
rocky
|
843e3585e2
|
chained-compare1 -> chained-compare-middle
|
2023-07-29 12:01:14 -04:00 |
|
rocky
|
227f494fa8
|
Double -a option show asm before tokenization
|
2023-07-04 07:13:54 -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
|
828b1c989d
|
Fix fragment bugs
mostly with respect to show_ast handling
|
2023-06-29 15:56:53 -04:00 |
|
rocky
|
568b64b59e
|
Allow decompilation of older bytecode from 3.9+
|
2023-06-16 07:30:25 -04:00 |
|
rocky
|
36f00d334e
|
Revert last change.
|
2023-06-16 07:10:37 -04:00 |
|
rocky
|
b0086460de
|
Exit when version is not supported
|
2023-06-15 21:32:17 -04:00 |
|
rocky
|
41d26bde79
|
Lint some files
|
2023-05-29 11:00:44 -04:00 |
|
rocky
|
ebcc12e2c3
|
Misc lint things
|
2023-05-29 10:36:50 -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 |
|
Andre Eberle
|
3314c0d222
|
Fix to the ADD_VALUE_x opcodes
|
2023-04-17 18:53:51 -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
|
ad00b9a4ee
|
Use xdis pattr extraction for LOAD_NAME
|
2023-04-15 07:31:35 -04:00 |
|
Andre Eberle
|
7f3c1fa3a4
|
Tentative fix for issue #437. I added a new set of rules in ifelsestmt.py to check against for offsets. Seems to have fixed current issue. The result output is switching nested if-else-if-else-etc to a chain of if-elif-elif now, but semantically seems correct.
|
2023-04-08 16:54:55 -04:00 |
|
rocky
|
f76c35c902
|
Slightly nicer docstring detection for closure
|
2023-03-25 02:20:26 -04:00 |
|
rocky
|
82963cdf2c
|
Preserve docstring in closures..
This change synchronized from decompyle3
|
2023-03-24 20:31:49 -04:00 |
|
rocky
|
a20972dd12
|
xdis PYTHON_VERSION removal
|
2023-02-26 19:29:08 -05:00 |
|
rocky
|
41d1ba31f3
|
Synch with decompyle3 code a little bit
|
2023-01-19 04:31:19 -05:00 |
|
rocky
|
7c99564640
|
Reinstate pos_args in CALL_METHOD
|
2023-01-18 21:01:11 -05:00 |
|
rocky
|
931abc5726
|
self.opc.version -> self.opc.version_tuple
The next release of xdis will no longer support self.opc.version (a
float value which doesn't work in the presense of 3.10 and above)
|
2023-01-18 17:08:39 -05:00 |
|
rocky
|
2b3cd696db
|
3.0 set comprehension bug
|
2023-01-16 03:50:50 -05:00 |
|
rocky
|
50697bb79e
|
Improve set comprehension for Python 3.0
|
2023-01-16 03:40:55 -05:00 |
|
rocky
|
9a7eb0ad0a
|
try to be more honest about MAKE_{FUNCTION,CLOSURE}
|
2023-01-16 01:45:37 -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
|
42d26ccbd7
|
Bump version
|
2023-01-14 06:21:12 -05:00 |
|
rocky
|
090570cd34
|
3.4-3.5 MAKE_CLOSURE with annotate
Docs lie about annnotation args. Slight adjustment here.
More is probably needed.
|
2023-01-14 02:20:59 -05:00 |
|
rocky
|
16914feb12
|
Get ready for release 3.9.0
|
2022-12-22 23:57:31 -05:00 |
|
rocky
|
e8d4d383c6
|
pycharm lint, isort & black
|
2022-12-01 17:36:00 -05:00 |
|