You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
get jump offsets into jump attributes. Fix up 3.2 scanner paritally and use that in 3.4 for in cross version disassembly.
22 lines
348 B
Python
22 lines
348 B
Python
def handle(module):
|
|
try:
|
|
module = 1
|
|
except ImportError as exc:
|
|
module = exc
|
|
return module
|
|
|
|
def handle2(module):
|
|
if module == 'foo':
|
|
try:
|
|
module = 1
|
|
except ImportError as exc:
|
|
module = exc
|
|
return module
|
|
|
|
try:
|
|
pass
|
|
except ImportError as exc:
|
|
pass
|
|
finally:
|
|
y = 1
|