Home
last modified time | relevance | path

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

12345678910>>...683

/external/python/cpython2/Tools/pybench/
DExceptions.py16 except:
20 except:
24 except:
28 except:
32 except:
36 except:
40 except:
44 except:
66 except:
70 except:
[all …]
/external/python/cpython3/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:
173 except BlockingIOError as exc:
176 except OSError as exc:
224 except OSError:
317 except ImportError:
324 except KeyError:
344 except ImportError:
382 except OSError:
393 except ImportError:
[all …]
Dtest_opcodes.py13 except NameError: pass
14 except ZeroDivisionError: pass
15 except TypeError: pass
17 except: pass
31 except OSError:
63 except: pass
66 except AClass: pass
69 except AClass: pass
72 except CClass: self.fail()
73 except: pass
[all …]
Dtest_exceptions.py40 except exc as err:
44 except exc as err:
62 except EOFError:
89 except NameError: pass
101 except SyntaxError: pass
108 except TabError: pass
118 except TypeError: pass
125 except ZeroDivisionError: pass
129 except Exception as e: pass
141 except SyntaxError 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 …]
/external/llvm-project/polly/lib/External/isl/interface/
Disl.py11 except:
70 except:
86 except:
91 except:
108 except:
118 except:
128 except:
146 except:
151 except:
161 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.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 …]
/external/python/cpython2/Lib/sqlite3/test/
Ddbapi.py30 except ImportError:
125 except sqlite.OperationalError:
163 except sqlite.OperationalError:
165 except:
172 except sqlite.Warning:
174 except:
193 except ValueError:
195 except:
219 except sqlite.ProgrammingError:
227 except sqlite.ProgrammingError:
[all …]
/external/python/cpython2/Lib/test/
Dtest_opcodes.py13 except NameError: pass
14 except ZeroDivisionError: pass
15 except TypeError: pass
17 except: pass
34 except: pass
37 except AClass: pass
40 except AClass: pass
43 except CClass: self.fail()
44 except: pass
50 except BClass, v:
[all …]
Dtest_exception_variations.py13 except:
31 except:
48 except:
62 except:
75 except:
85 except:
96 except:
110 except:
136 except:
157 except:
[all …]
Dtest_pep352.py52 except AttributeError:
74 except AttributeError:
86 except TypeError:
153 except TypeError:
162 except object_:
164 except TypeError:
166 except StandardError:
172 except (object_,):
174 except TypeError:
176 except StandardError:
[all …]
/external/python/cpython3/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 …]
/external/python/cpython2/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 …]
/external/python/cpython3/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
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 in other handlers of the same :keyword:`!try` statement. An except clause may
120 ... except (RuntimeError, TypeError, NameError):
123 A class in an :keyword:`except` clause is compatible with an exception if it is
125 except clause listing a derived class is not compatible with a base class). For
[all …]
/external/python/cpython2/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
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 in other handlers of the same :keyword:`try` statement. An except clause may
120 ... except (RuntimeError, TypeError, NameError):
124 ``except ValueError, e:`` was the syntax used for what is normally
125 written as ``except ValueError as e:`` in modern Python (described
[all …]
/external/python/cpython2/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 == u'except':
42 tail=(['except' ':' (simple_stmt | suite)]
[all …]
/external/python/cpython3/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 …]
/external/skia/infra/bots/recipe_modules/builder_name_schema/examples/
Dfull.py24 except ValueError:
29 except ValueError:
34 except ValueError:
45 except ValueError:
50 except ValueError:
56 except ValueError:
62 except ValueError:
67 except ValueError:
76 except ValueError:
89 except ValueError:
/external/skqp/infra/bots/recipe_modules/builder_name_schema/examples/
Dfull.py24 except ValueError:
29 except ValueError:
34 except ValueError:
45 except ValueError:
50 except ValueError:
56 except ValueError:
62 except ValueError:
67 except ValueError:
76 except ValueError:
89 except ValueError:
/external/llvm-project/clang/test/Parser/
Dfp-floatcontrol-syntax.cpp16 #pragma float_control(except, on, push) // expected-error {{can only appear at file scope or … in check_stack()
17 #pragma float_control(except, on, push, junk) // expected-error {{float_control is malformed}} in check_stack()
30 … off) // expected-error {{'#pragma float_control(precise, off)' is illegal when except is enabled}}
34 … off) // expected-error {{'#pragma float_control(precise, off)' is illegal when except is enabled}}
39 #pragma float_control(except, on) // OK
41 #pragma float_control(except, on)
42 … off) // expected-error {{'#pragma float_control(precise, off)' is illegal when except is enabled}}
46 … off) // expected-error {{'#pragma float_control(precise, off)' is illegal when except is enabled}} in main()
48 … off) // expected-error {{'#pragma float_control(precise, off)' is illegal when except is enabled}} in main()
50 #pragma float_control(except, on) in main()
[all …]
/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 …]

12345678910>>...683