You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Fix Python 3.x bugs
* class definitions made via closures * Add "make check-short" to top-level * parse3.py: Python 3.3 uses STORE_LOGALS
This commit is contained in:
@@ -471,6 +471,11 @@ def get_python_parser(version, debug_parser, compile_mode='exec'):
|
||||
p = parse3.Python32Parser(debug_parser)
|
||||
else:
|
||||
p = parse3.Python32ParserSingle(debug_parser)
|
||||
elif version == 3.3:
|
||||
if compile_mode == 'exec':
|
||||
p = parse3.Python33Parser(debug_parser)
|
||||
else:
|
||||
p = parse3.Python33ParserSingle(debug_parser)
|
||||
elif version == 3.4:
|
||||
if compile_mode == 'exec':
|
||||
p = parse3.Python34Parser(debug_parser)
|
||||
|
Reference in New Issue
Block a user