Add Python 1.3 decompilation ..

Reduced checking via "make check-short"
This commit is contained in:
rocky
2018-06-13 12:26:21 -04:00
parent 3ac4f1ee61
commit b7942bc5f2
13 changed files with 116 additions and 11 deletions

View File

@@ -621,7 +621,13 @@ def get_python_parser(
if version < 3.0:
if version < 2.2:
if version == 1.4:
if version == 1.3:
import uncompyle6.parsers.parse13 as parse13
if compile_mode == 'exec':
p = parse13.Python14Parser(debug_parser)
else:
p = parse13.Python14ParserSingle(debug_parser)
elif version == 1.4:
import uncompyle6.parsers.parse14 as parse14
if compile_mode == 'exec':
p = parse14.Python14Parser(debug_parser)