結果 : python raise exception if function takes too long