Start to handle Python 3.1 bytecode

This commit is contained in:
rocky
2016-08-26 20:50:08 -04:00
parent 835c4151c3
commit ddc5460030
6 changed files with 32 additions and 6 deletions

View File

@@ -590,7 +590,12 @@ def get_python_parser(
pass
else:
import uncompyle6.parsers.parse3 as parse3
if version == 3.2:
if version == 3.1:
if compile_mode == 'exec':
p = parse3.Python31Parser(debug_parser)
else:
p = parse3.Python31ParserSingle(debug_parser)
elif version == 3.2:
if compile_mode == 'exec':
p = parse3.Python32Parser(debug_parser)
else: