Searched full:except (Results 1 – 25 of 15712) sorted by relevance
12345678910>>...629
/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 | test_exceptions.py | 35 except exc as err: 39 except exc as err: 57 except EOFError: 84 except NameError: pass 96 except SyntaxError: pass 103 except TabError: pass 113 except TypeError: pass 120 except ZeroDivisionError: pass 124 except Exception as e: pass 135 except SyntaxError as e: [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_exception_variations.py | 12 except: 30 except: 47 except: 61 except: 74 except: 84 except: 95 except: 109 except: 135 except: 156 except: [all …]
|
D | pythoninfo.py | 62 except AttributeError: 70 except AttributeError: 192 except OSError: 290 except BlockingIOError as exc: 293 except OSError as exc: 303 except ImportError: 338 except OSError: 349 except ImportError: 357 except ImportError: 387 except ImportError: [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/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 …]
|
D | pythoninfo.py | 62 except AttributeError: 70 except AttributeError: 192 except OSError: 248 except BlockingIOError as exc: 251 except OSError as exc: 261 except ImportError: 296 except OSError: 307 except ImportError: 315 except ImportError: 345 except ImportError: [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/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/python/cpython3/Lib/asyncio/ |
D | selector_events.py | 18 except ImportError: # pragma: no cover 36 except KeyError: 118 except InterruptedError: 120 except BlockingIOError: 133 except OSError: 161 except (BlockingIOError, InterruptedError, ConnectionAbortedError): 164 except OSError as exc: 211 except: 216 except Exception as exc: 234 except (AttributeError, TypeError, ValueError): [all …]
|
/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/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/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 …]
|
/external/ltp/testcases/kernel/power_management/lib/ |
D | pm_sched_mc.py | 33 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>>...629