Split out Python 3.1 parser from rest.

__pkginfo__.py: use Python 3.1 bytecode fixes
This commit is contained in:
rocky
2016-10-25 21:46:46 -04:00
parent 7a10917857
commit 8feb472d51
4 changed files with 43 additions and 32 deletions

View File

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