rocky / python-uncompyle6

A cross-version Python bytecode decompiler
GNU General Public License v3.0
3.74k stars 408 forks source link

KeyError: '3.10.10' #455

Closed internetrvze closed 1 year ago

internetrvze commented 1 year ago

When I'm trying do uncompyle PYC file, I'm getting KeyError:

>uncompyle6 TData.2.Session_RU.pyc
I don't know about Python version '3.10.10' yet.
Python versions 3.9 and greater are not supported.
I don't know about Python version '3.10.10' yet.
Python versions 3.9 and greater are not supported.
I don't know about Python version '3.10.10' yet.
Python versions 3.9 and greater are not supported.
I don't know about Python version '3.10.10' yet.
Python versions 3.9 and greater are not supported.
I don't know about Python version '3.10.10' yet.
Python versions 3.9 and greater are not supported.
I don't know about Python version '3.10.10' yet.
Python versions 3.9 and greater are not supported.
Traceback (most recent call last):
  File "D:\Programs\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Programs\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\Programs\Python310\Scripts\uncompyle6.exe\__main__.py", line 4, in <module>
  File "D:\Programs\Python310\lib\site-packages\uncompyle6\bin\uncompile.py", line 65, in <module>
    from uncompyle6 import verify
  File "D:\Programs\Python310\lib\site-packages\uncompyle6\verify.py", line 24, in <module>
    import xdis.std as dis
  File "D:\Programs\Python310\lib\site-packages\xdis\std.py", line 236, in <module>
    _std_api = make_std_api()
  File "D:\Programs\Python310\lib\site-packages\xdis\std.py", line 233, in make_std_api
    return _StdApi(python_version, variant)
  File "D:\Programs\Python310\lib\site-packages\xdis\std.py", line 78, in __init__
    self.opc = opc = get_opcode_module(python_version, variant)
  File "D:\Programs\Python310\lib\site-packages\xdis\op_imports.py", line 187, in get_opcode_module
    return op_imports[canonic_python_version[vers_str]]
KeyError: '3.10.10'

File compilled in Python 3.10 uncompyle6 version: 3.9.0 xdis version: 6.0.5

Mathis-Dory commented 1 year ago

Same for Python 3.11.2