-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Python 3.11 opcodes and support 3.11 #98
Comments
In order to add support for 3.11, one would need to read and understand https://docs.python.org/3.11/whatsnew/3.11.html#cpython-bytecode-changes and create file called One more doubt: When using uncompyle6 installed on a system with python 3.11 but de-compiling older pyc(from e.g, 3.10), the KeyError is still says |
If you'd like to work up a solution here for uncompyle6, please do. |
I lost my code accidently, and really need xdis support for Python 3.11, I can pay for it ! plzzzzzzzzzzzzzzz ! |
@Sirin112 There is preliminary support for 3.11 in the master branch. If that does not do it for you, make a reasonable donation to the project and send me the bytecode and I will send back a disassembly of your bytecode. |
it shows that Unknown magic number 227,how much could be a reasonable donation? will $150 be enough? |
Something is weird then. If you donate $150 I will spend about 1/2 hour on it. After making the donation you can send the bytecode to python.decompiler39plus@gmail.com |
pycnite has 3.11 support. you likely won't be able to import and use it in xdis because it requires python >= 3.8 to run but you're welcome to copy code from it. |
So everyone knows where things stand... @2elli added 3.11 of opcode support in #112 #113 among others and I added better unmarshaling #119 . Python version independent line number table disassembly (or better since 3.11 can do better) still needs doing, although if you disassemble 3.11 pyc from 3.11 that works. |
Thanks to @2elli @caandt and @jdw170000 , I think we can call this done. |
Description
Add support for Python 3.11
Background
Python 3.11 is out!
Tests
After adding opcode and adjusting:
The text was updated successfully, but these errors were encountered: