You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Start handling Pyton 2.4 bytecodes
This commit is contained in:
@@ -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':
|
||||
|
Reference in New Issue
Block a user