Start handling Pyton 2.4 bytecodes

This commit is contained in:
rocky
2016-07-08 14:56:57 -04:00
parent 7fdb4d3e68
commit 62e60817f6
17 changed files with 125 additions and 21 deletions

View File

@@ -591,6 +591,12 @@ def get_python_parser(version, debug_parser, compile_mode='exec'):
p = parse23.Python23Parser(debug_parser)
else:
p = parse23.Python23ParserSingle(debug_parser)
elif version == 2.4:
import uncompyle6.parsers.parse24 as parse24
if compile_mode == 'exec':
p = parse24.Python24Parser(debug_parser)
else:
p = parse24.Python24ParserSingle(debug_parser)
elif version == 2.5:
import uncompyle6.parsers.parse25 as parse25
if compile_mode == 'exec':