错误代码:
@jit()
def savepole(img_pole):
try:
print ("ok")
except:
print ("error")
错误提示:
AssertionError: Failed at object (analyzing bytecode)
SETUP_EXCEPT(arg=12, lineno=233)
正确代码:
def savepole(img_pole):
try:
print ("ok")
except:
print ("error")
错误原因:@jit()不支持try expect结构....