You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Python3 try/except handling improvements. Add Walker exception and use
that: fixes erroneous uncompyle success message on parse error.
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
def handle(module):
|
||||
try:
|
||||
module = 1
|
||||
except ImportError as exc:
|
||||
module = exc
|
||||
return module
|
||||
|
||||
try:
|
||||
pass
|
||||
except ImportError as exc:
|
||||
pass
|
||||
finally:
|
||||
del exc
|
||||
y = 1
|
||||
|
Reference in New Issue
Block a user