You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
consts.py: add rule for importlists. imports weren't separated by ', '. parser.py: Make importlist a list type of node. test/* add test for importlist
8 lines
248 B
Python
8 lines
248 B
Python
# Had bug in 3.x in not having semantic importlist rule
|
|
def main(osp, Mfile, mainpyfile, dbg=None):
|
|
try:
|
|
from xdis import load_module, PYTHON_VERSION, IS_PYPY
|
|
return PYTHON_VERSION, IS_PYPY, load_module
|
|
except:
|
|
pass
|