Searched full:except (Results 1 – 25 of 16282) sorted by relevance
12345678910>>...652
/external/python/cpython2/Tools/pybench/ |
D | Exceptions.py | 16 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/ |
D | test_raise.py | 15 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 …]
|
D | pythoninfo.py | 63 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 …]
|
D | test_opcodes.py | 13 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 …]
|
D | test_exceptions.py | 40 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 …]
|
D | test_exception_variations.py | 12 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/ |
D | isl.py | 11 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/ |
D | test_constraint.py | 12 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/ |
D | selector_events.py | 18 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/ |
D | dbapi.py | 30 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/ |
D | test_opcodes.py | 13 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 …]
|
D | test_exception_variations.py | 13 except: 31 except: 48 except: 62 except: 75 except: 85 except: 96 except: 110 except: 136 except: 157 except: [all …]
|
D | test_pep352.py | 52 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/ |
D | pickle2db.py | 30 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 …]
|
D | db2pickle.py | 25 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/ |
D | pickle2db.py | 30 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 …]
|
D | db2pickle.py | 25 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/ |
D | errors.rst | 92 ... 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/ |
D | errors.rst | 92 ... 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/ |
D | fix_except.py | 1 """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/ |
D | fix_except.py | 1 """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/ |
D | full.py | 24 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/ |
D | full.py | 24 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/ |
D | fp-floatcontrol-syntax.cpp | 16 #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/ |
D | testlex.py | 6 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>>...652