Home
last modified time | relevance | path

Searched full:except (Results 1 – 25 of 36020) sorted by relevance

12345678910>>...1441

/external/python/cpython3/Lib/test/
Dtest_raise.py15 except OSError as e:
30 except RuntimeError as e:
39 except IndexError as e:
42 except IndexError as exc2:
51 except:
54 except KeyError:
63 except:
76 except:
84 except:
86 except ValueError as e:
[all …]
Dtest_except_star.py27 except* ExceptionGroup as e:
34 except* (TypeError, ExceptionGroup):
41 except* 42:
47 except* (ValueError, 42):
53 r" cannot appear in an except\* block")
64 except* Exception as e:
73 except* Exception as e:
83 except* Exception as e:
97 except* Exception as e:
106 except* Exception as e:
[all …]
Dtest_exception_variations.py12 except:
30 except:
47 except:
61 except:
74 except:
84 except:
95 except:
109 except:
135 except:
156 except:
[all …]
Dpythoninfo.py62 except AttributeError:
70 except AttributeError:
168 except OSError:
210 except BlockingIOError as exc:
213 except OSError as exc:
262 except OSError:
366 except ImportError:
373 except KeyError:
393 except ImportError:
431 except OSError:
[all …]
Dtest_opcodes.py14 except NameError: pass
15 except ZeroDivisionError: pass
16 except TypeError: pass
18 except: pass
32 except OSError:
63 except: pass
66 except AClass: pass
69 except AClass: pass
72 except CClass: self.fail()
73 except: pass
[all …]
Dtest_exceptions.py27 except ImportError:
54 except exc as err:
58 except exc as err:
76 except EOFError:
103 except NameError: pass
115 except SyntaxError: pass
122 except TabError: pass
132 except TypeError: pass
139 except ZeroDivisionError: pass
143 except Exception as e: pass
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Doperation.pxd.pxi4 # you may not use this file except in compliance with the License.
18 cdef void c(self) except *
19 cdef void un_c(self) except *
32 cdef void c(self) except *
33 cdef void un_c(self) except *
42 cdef void c(self) except *
43 cdef void un_c(self) except *
50 cdef void c(self) except *
51 cdef void un_c(self) except *
64 cdef void c(self) except *
[all …]
Doperation.pyx.pxi4 # you may not use this file except in compliance with the License.
18 cdef void c(self) except *:
21 cdef void un_c(self) except *:
34 cdef void c(self) except *:
44 cdef void un_c(self) except *:
61 cdef void c(self) except *:
71 cdef void un_c(self) except *:
83 cdef void c(self) except *:
87 cdef void un_c(self) except *:
102 cdef void c(self) except *:
[all …]
Dcredentials.pxd.pxi4 # you may not use this file except in compliance with the License.
18 cdef grpc_call_credentials *c(self) except *
29 const char **error_details) except * with gil
31 cdef void _destroy(void *state) except * with gil
39 cdef grpc_call_credentials *c(self) except *
49 cdef grpc_call_credentials *c(self) except *
54 cdef grpc_channel_credentials *c(self) except *
68 cdef grpc_channel_credentials *c(self) except *
76 cdef grpc_channel_credentials *c(self) except *
83 cdef grpc_channel_credentials *c(self) except *
[all …]
/external/python/pyasn1/tests/type/
Dtest_constraint.py12 except ImportError:
37 except error.ValueConstraintError:
43 except error.ValueConstraintError:
59 except error.ValueConstraintError:
65 except error.ValueConstraintError:
79 except error.ValueConstraintError:
85 except error.ValueConstraintError:
99 except error.ValueConstraintError:
105 except error.ValueConstraintError:
119 except error.ValueConstraintError:
[all …]
/external/python/cpython3/Lib/asyncio/
Dselector_events.py20 except ImportError: # pragma: no cover
38 except OSError:
47 except KeyError:
136 except InterruptedError:
138 except BlockingIOError:
153 except OSError:
183 except (BlockingIOError, InterruptedError, ConnectionAbortedError):
186 except OSError as exc:
236 except BaseException:
245 except (SystemExit, KeyboardInterrupt):
[all …]
D__main__.py43 except SystemExit as se:
47 except KeyboardInterrupt as ex:
51 except BaseException as ex:
62 except BaseException as exc:
69 except SystemExit as se:
73 except BaseException:
114 except SystemExit:
117 except BaseException:
167 except ImportError:
180 except:
[all …]
/external/grpc-grpc/src/python/grpcio_channelz/grpc_channelz/v1/
D_servicer.py4 # you may not use this file except in compliance with the License.
33 except (ValueError, json_format.ParseError) as e:
44 except (ValueError, json_format.ParseError) as e:
55 except ValueError as e:
58 except json_format.ParseError as e:
73 except ValueError as e:
76 except json_format.ParseError as e:
87 except ValueError as e:
90 except json_format.ParseError as e:
101 except ValueError as e:
[all …]
/external/skia/infra/bots/recipe_modules/builder_name_schema/examples/
Dfull.py25 except ValueError:
30 except ValueError:
35 except ValueError:
46 except ValueError:
51 except ValueError:
57 except ValueError:
63 except ValueError:
68 except ValueError:
77 except ValueError:
90 except ValueError:
/external/python/cpython3/Doc/tutorial/
Derrors.rst98 ... except ValueError:
105 :keyword:`except` keywords) is executed.
107 * If no exception occurs, the *except clause* is skipped and execution of the
112 :keyword:`except` keyword, the *except clause* is executed, and then execution
113 continues after the try/except block.
115 * If an exception occurs which does not match the exception named in the *except
119 A :keyword:`try` statement may have more than one *except clause*, to specify
122 not in other handlers of the same :keyword:`!try` statement. An *except clause*
125 ... except (RuntimeError, TypeError, NameError):
128 A class in an :keyword:`except` clause matches exceptions which are instances of the
[all …]
/external/pytorch/test/dynamo/
Dtest_exceptions.py18 except Exception:
35 except (NotImplementedError, AttributeError) as e:
52 except AssertionError:
54 except NotImplementedError:
75 except Exception:
92 except NotImplementedError as e:
97 except AssertionError:
115 except Exception:
134 except NotImplementedError as e:
142 except Exception:
[all …]
/external/cronet/tot/net/http/
Dhttp_no_vary_search_data_unittest.cc182 {// When except is specified, params cannot be a list of strings.
184 R"(No-Vary-Search: params=("b"),except=("a"))"
224 {// except without params.
226 "No-Vary-Search: except=()\r\n\r\n",
229 {// except without params.
231 "No-Vary-Search: except=()\r\n"
232 R"(No-Vary-Search: except=("a"))"
236 {// except without params.
238 R"(No-Vary-Search: except=("a" "b"))"
242 {// except with params set to a list of strings is incorrect.
[all …]
/external/cronet/stable/net/http/
Dhttp_no_vary_search_data_unittest.cc182 {// When except is specified, params cannot be a list of strings.
184 R"(No-Vary-Search: params=("b"),except=("a"))"
224 {// except without params.
226 "No-Vary-Search: except=()\r\n\r\n",
229 {// except without params.
231 "No-Vary-Search: except=()\r\n"
232 R"(No-Vary-Search: except=("a"))"
236 {// except without params.
238 R"(No-Vary-Search: except=("a" "b"))"
242 {// except with params set to a list of strings is incorrect.
[all …]
/external/autotest/client/common_lib/
Dseven_unittest.py24 except OSError:
32 except Exception: # pylint: disable=broad-except
51 except Exception as e: # pylint: disable=broad-except
67 except Exception as e: # pylint: disable=broad-except
86 except Exception as e: # pylint: disable=broad-except
/external/ply/ply/test/
Dtestlex.py6 except ImportError:
21 except ImportError:
300 except ply.lex.LexError:
337 except OSError:
367 except OSError:
371 except OSError:
375 except OSError:
410 except OSError:
414 except OSError:
418 except OSError:
[all …]
/external/skia/platform_tools/debugging/lldb/
Dskia.py52 except:
58 except:
70 except:
79 except:
97 except:
103 except:
116 except:
128 except:
146 except:
152 except:
[all …]
/external/tink/testing/python/
Dservices.py4 # you may not use this file except in compliance with the License.
262 except tink.TinkError as e:
278 except tink.TinkError as e:
293 except tink.TinkError as e:
307 except tink.TinkError as e:
337 except tink.TinkError as e:
374 except tink.TinkError as e:
389 except tink.TinkError as e:
402 except tink.TinkError as e:
415 except tink.TinkError as e:
[all …]
/external/bc/tests/
Dhistory.py37 except ImportError:
168 except pexpect.TIMEOUT:
173 except pexpect.EOF:
210 except pexpect.TIMEOUT:
215 except pexpect.EOF:
258 except pexpect.TIMEOUT:
263 except pexpect.EOF:
292 except pexpect.TIMEOUT:
297 except pexpect.EOF:
326 except pexpect.TIMEOUT:
[all …]
/external/perfetto/tools/
Dcompat.py5 # you may not use this file except in compliance with the License.
18 except ImportError:
23 except ImportError:
28 except NameError:
33 except NameError:
40 except AttributeError:
47 except AttributeError:
/external/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py33 except OSError as e:
47 except IOError as e:
64 except Exception as details:
76 except Exception:
96 except Exception:
126 except Exception:
144 except Exception:
170 except Exception as details:
183 except IOError as e:
200 except Exception as details:
[all …]

12345678910>>...1441