You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Merge branch 'master' into python-3.3-to-3.5
This commit is contained in:
5
uncompyle6/scanner.py
Executable file → Normal file
5
uncompyle6/scanner.py
Executable file → Normal file
@@ -580,10 +580,11 @@ def get_scanner(version, is_pypy=False, show_asm=None):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import inspect, uncompyle6
|
||||
import inspect
|
||||
|
||||
co = inspect.currentframe().f_code
|
||||
# scanner = get_scanner('2.7.13', True)
|
||||
# scanner = get_scanner(sys.version[:5], False)
|
||||
scanner = get_scanner(uncompyle6.PYTHON_VERSION, IS_PYPY, True)
|
||||
from xdis.version_info import PYTHON_VERSION_TRIPLE
|
||||
scanner = get_scanner(PYTHON_VERSION_TRIPLE, IS_PYPY, True)
|
||||
tokens, customize = scanner.ingest(co, {}, show_asm="after")
|
||||
|
Reference in New Issue
Block a user