Home
last modified time | relevance | path

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

12345678910>>...593

/third_party/python/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_exception_variations.py12 except:
30 except:
47 except:
61 except:
74 except:
84 except:
95 except:
109 except:
135 except:
156 except:
[all …]
Dtest_except_star.py26 except* ExceptionGroup as e:
33 except* (TypeError, ExceptionGroup):
40 except* 42:
46 except* (ValueError, 42):
52 r" cannot appear in an except\* block")
63 except* Exception as e:
72 except* Exception as e:
82 except* Exception as e:
96 except* Exception as e:
105 except* Exception as e:
[all …]
Dtest_exceptions.py44 except exc as err:
48 except exc as err:
66 except EOFError:
93 except NameError: pass
105 except SyntaxError: pass
112 except TabError: pass
122 except TypeError: pass
129 except ZeroDivisionError: pass
133 except Exception as e: pass
145 except SyntaxError as e:
[all …]
Dpythoninfo.py67 except AttributeError:
75 except AttributeError:
187 except BlockingIOError as exc:
190 except OSError as exc:
238 except OSError:
331 except ImportError:
338 except KeyError:
358 except ImportError:
396 except OSError:
407 except ImportError:
[all …]
Dtest_opcodes.py13 except NameError: pass
14 except ZeroDivisionError: pass
15 except TypeError: pass
17 except: pass
31 except OSError:
62 except: pass
65 except AClass: pass
68 except AClass: pass
71 except CClass: self.fail()
72 except: pass
[all …]
Dtest_sys_settrace.py54 # If there is implicit control flow around a pass statement (in an except
169 except Exception:
199 except RuntimeError:
237 except IndexError:
262 except IndexError:
497 except Exception as e:
501 except Exception:
523 except Exception:
548 except StopIteration:
608 except Exception:
[all …]
/third_party/python/Lib/asyncio/
Dselector_events.py18 except ImportError: # pragma: no cover
37 except KeyError:
123 except InterruptedError:
125 except BlockingIOError:
140 except OSError:
170 except (BlockingIOError, InterruptedError, ConnectionAbortedError):
173 except OSError as exc:
223 except BaseException:
228 except (SystemExit, KeyboardInterrupt):
230 except BaseException as exc:
[all …]
D__main__.py35 except SystemExit:
37 except KeyboardInterrupt as ex:
41 except BaseException as ex:
52 except BaseException as exc:
59 except SystemExit:
61 except BaseException:
109 except ImportError:
119 except KeyboardInterrupt:
/third_party/python/Tools/scripts/
Dpickle2db.py30 except ImportError:
34 except ImportError:
38 except ImportError:
42 except ImportError:
47 except ImportError:
60 except getopt.error:
73 except IOError:
83 except AttributeError:
89 except AttributeError:
95 except AttributeError:
[all …]
Ddb2pickle.py25 except ImportError:
29 except ImportError:
33 except ImportError:
37 except ImportError:
42 except ImportError:
55 except getopt.error:
69 except IOError:
78 except AttributeError:
84 except AttributeError:
90 except AttributeError:
[all …]
/third_party/python/Doc/tutorial/
Derrors.rst92 ... except ValueError:
99 :keyword:`except` keywords) is executed.
101 * If no exception occurs, the *except clause* is skipped and execution of the
106 :keyword:`except` keyword, the *except clause* is executed, and then execution
107 continues after the try/except block.
109 * If an exception occurs which does not match the exception named in the *except
114 A :keyword:`try` statement may have more than one *except clause*, to specify
117 not in other handlers of the same :keyword:`!try` statement. An *except clause*
120 ... except (RuntimeError, TypeError, NameError):
123 A class in an :keyword:`except` clause is compatible with an exception if it is
[all …]
/third_party/typescript/tests/arkTSTest/testcase/arkts-only-imported-variables/
Darkts-only-imported-variables-error.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
25 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
32 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
39 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
46 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
53 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/python/Lib/lib2to3/fixes/
Dfix_except.py1 """Fixer for except statements with named exceptions.
5 - "except E, T:" where T is a name:
7 except E as T:
9 - "except E, T:" where T is not a name, tuple or list:
11 except E as t:
14 This is done because the target of an "except" clause must be a
17 - "except E, T:" where T is a tuple or list literal:
19 except E as t:
33 if n.children[0].value == 'except':
42 tail=(['except' ':' (simple_stmt | suite)]
[all …]
/third_party/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:
/third_party/typescript/tests/arkTSTest/testcase/arkts-sendable-decorator-limited/
Darkts-sendable-decorator-limited-2-error.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
25 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
32 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/typescript/tests/arkTSTest/testcase/arkts-sendable-imported-variables/
Darkts-sendable-imported-variables-2-ok.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
25 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/typescript/tests/arkTSTest/testcase/arkts-sendable-closure-export/
Darkts-sendable-closure-export-1-error.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
25 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
32 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
39 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/python/Lib/test/libregrtest/
Dutils.py131 except KeyError:
138 except KeyError:
145 except KeyError:
152 except KeyError:
159 except KeyError:
166 except KeyError:
173 except KeyError:
180 except KeyError:
187 except KeyError:
194 except KeyError:
[all …]
/third_party/skia/platform_tools/debugging/lldb/
Dskia.py52 except:
58 except:
71 except:
80 except:
98 except:
104 except:
117 except:
129 except:
147 except:
153 except:
[all …]
/third_party/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 …]
/third_party/typescript/tests/arkTSTest/testcase/arkts-sendable-generic-types/
Darkts-sendable-generic-types.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-ts-sendable-type-inheritance/
Darkts-no-ts-sendable-type-inheritance.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/typescript/tests/arkTSTest/testcase/arkts-sendable-as-expr/arkts-sendable-as-expr-ts/
Darkts-sendable-as-expr-ts.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
/third_party/typescript/tests/arkTSTest/testcase/arkts-sendable-obj-init/
Darkts-sendable-obj-init.json4 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
11 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…
18 …"messageText": "No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-e…

12345678910>>...593