Home
last modified time | relevance | path

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

12345678910>>...472

/third_party/python/Lib/test/
Dtest_raise.py15 except:
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 …]
Dpythoninfo.py63 except AttributeError:
71 except AttributeError:
174 except BlockingIOError as exc:
177 except OSError as exc:
225 except OSError:
318 except ImportError:
325 except KeyError:
345 except ImportError:
383 except OSError:
394 except ImportError:
[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 …]
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_exception_variations.py12 except:
30 except:
47 except:
61 except:
74 except:
84 except:
95 except:
109 except:
135 except:
156 except:
[all …]
Dtest_baseexception.py28 except TypeError:
38 except AttributeError:
61 except AttributeError:
73 except TypeError:
125 except TypeError:
134 except object_:
136 except TypeError:
138 except Exception:
144 except (object_,):
146 except TypeError:
[all …]
Dtest_sys_settrace.py51 # If there is implicit control flow around a pass statement (in an except
166 except Exception:
196 except RuntimeError:
234 except IndexError:
259 except IndexError:
494 except Exception as e:
498 except Exception:
520 except Exception:
545 except StopIteration:
605 except Exception:
[all …]
Dtest_asyncgen.py35 except StopIteration as ex:
63 except AttributeError:
77 except StopAsyncIteration:
140 except StopIteration:
143 except Exception as ex:
155 except StopIteration as ex:
162 except StopAsyncIteration:
164 except Exception as ex:
167 except StopAsyncIteration:
203 except StopIteration as ex:
[all …]
/third_party/python/Lib/asyncio/
Dselector_events.py18 except ImportError: # pragma: no cover
37 except KeyError:
124 except InterruptedError:
126 except BlockingIOError:
141 except OSError:
169 except (BlockingIOError, InterruptedError, ConnectionAbortedError):
172 except OSError as exc:
219 except BaseException:
224 except (SystemExit, KeyboardInterrupt):
226 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:
Dunix_events.py50 except ValueError:
106 except (ValueError, OSError) as exc:
120 except OSError as exc:
125 except (ValueError, OSError) as nexc:
151 except KeyError:
161 except OSError as exc:
170 except (ValueError, OSError) as exc:
216 except (SystemExit, KeyboardInterrupt):
218 except BaseException:
255 except:
[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/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/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/python/Lib/test/libregrtest/
Dutils.py138 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:
201 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/python/Lib/
Dshutil.py18 except ImportError:
25 except ImportError:
32 except ImportError:
91 except Exception as err:
96 except OSError as err:
122 except Exception as err:
132 except OSError:
143 except OSError as err:
205 except OSError:
211 except OSError:
[all …]
Dasyncore.py72 except NameError:
78 except (ValueError, OverflowError, NameError):
91 except _reraised_exceptions:
93 except:
99 except _reraised_exceptions:
101 except:
107 except _reraised_exceptions:
109 except:
122 except OSError as e:
127 except _reraised_exceptions:
[all …]
Dpdb.py31 A blank line repeats the previous command literally, except for
98 except OSError:
160 except ImportError:
171 except OSError:
176 except OSError:
325 except KeyboardInterrupt:
347 except ValueError: # ValueError: signal only works in main thread
386 except:
445 except AttributeError:
473 except Exception:
[all …]
/third_party/ltp/testcases/kernel/mce-test/doc/cases/
Dsoft-inj_recoverable_ucr.txt18 * mce_timeout() except if (*t <= 0) branch
37 * mce_timeout() except if (*t <= 0) branch
56 * mce_timeout() except if (*t <= 0) branch
74 * mce_timeout() except if (*t <= 0) branch
91 * mce_timeout() except if (*t <= 0) branch
109 * mce_timeout() except if (*t <= 0) branch
127 * mce_timeout() except if (*t <= 0) branch
145 * mce_timeout() except if (*t <= 0) branch
163 * mce_timeout() except if (*t <= 0) branch
181 * mce_timeout() except if (*t <= 0) branch
/third_party/python/Lib/importlib/
D__init__.py17 except ImportError:
27 except NameError:
35 except ImportError:
44 except NameError:
90 except KeyError:
92 except AttributeError:
140 except AttributeError:
143 except AttributeError:
157 except KeyError:
175 except KeyError:
/third_party/node/deps/v8/tools/testrunner/local/
Dpool.py15 except ImportError:
32 except ImportError:
79 except command.AbortException:
82 except Exception as e:
91 except KeyboardInterrupt:
191 except:
205 except KeyboardInterrupt:
207 except Exception as e:
221 except StopIteration:
265 except Empty:
[all …]

12345678910>>...472