Searched full:except (Results 1 – 25 of 12709) sorted by relevance
12345678910>>...509
/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/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 | test_future.py | 32 except SyntaxError, msg: 40 except SyntaxError, msg: 48 except SyntaxError, msg: 56 except SyntaxError, msg: 64 except SyntaxError, msg: 72 except SyntaxError, msg: 80 except SyntaxError, msg: 93 except SyntaxError: 100 except SyntaxError:
|
D | test_resource.py | 20 except AttributeError: 33 except AttributeError: 46 except ValueError: 62 except IOError: 81 except AttributeError: 85 except (OverflowError, ValueError): 89 except (OverflowError, ValueError): 100 except (ValueError, AttributeError): 107 except AttributeError:
|
D | test_sys_settrace.py | 18 # If there is implicit control flow around a pass statement (in an except 101 except Exception, exc: 131 except RuntimeError, exc: 170 except IndexError: 192 except IndexError: 426 except ValueError: 430 except RuntimeError: 457 except RuntimeError: 488 except TypeError: 578 except ValueError, e: [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/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/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, e: 47 except IOError, e: 64 except Exception, details: 76 except Exception: 96 except Exception: 126 except Exception: 144 except Exception: 170 except Exception, details: 183 except IOError, e: 200 except Exception, details: [all …]
|
/external/python/cpython2/Lib/ |
D | pty.py | 27 except (AttributeError, OSError): 40 except (AttributeError, OSError): 54 except ImportError: 59 except IOError, msg: 67 except os.error: 81 except ImportError: 86 except IOError: 96 except (AttributeError, OSError): 102 except OSError: 172 except tty.error: # This is the same as termios.error [all …]
|
D | asyncore.py | 65 except NameError: 71 except (ValueError, OverflowError, NameError): 84 except _reraised_exceptions: 86 except: 92 except _reraised_exceptions: 94 except: 100 except _reraised_exceptions: 102 except: 115 except socket.error, e: 120 except _reraised_exceptions: [all …]
|
D | code.py | 19 except AttributeError: 23 except (AttributeError, TypeError): 67 also handles run-time exceptions, except for SystemExit). 77 except (OverflowError, SyntaxError, ValueError): 94 display a traceback. All exceptions are caught except 104 except SystemExit: 106 except: 131 except: 213 except AttributeError: 217 except AttributeError: [all …]
|
/external/skia/infra/bots/recipe_modules/builder_name_schema/examples/ |
D | full.py | 20 except ValueError: 26 except ValueError: 31 except ValueError: 42 except ValueError: 47 except ValueError: 53 except ValueError: 59 except ValueError:
|
/external/python/cpython2/Lib/idlelib/ |
D | run.py | 37 except IOError: 91 except: 107 except KeyboardInterrupt: 112 except Queue.Empty: 117 except KeyboardInterrupt: 121 except SystemExit: 124 except: 129 except: 142 except socket.error as err: 225 except (AttributeError, EOFError): [all …]
|
/external/autotest/tko/parsers/test/ |
D | unittest_hotfix.py | 53 except AttributeError: 62 except KeyboardInterrupt: 64 except: 72 except self.failureException: 74 except SkipException: 76 except KeyboardInterrupt: 78 except: 83 except KeyboardInterrupt: 85 except:
|
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
D | device_recovery.py | 35 except (psutil.NoSuchProcess, psutil.AccessDenied): 44 except (psutil.NoSuchProcess, psutil.AccessDenied): 50 except (psutil.NoSuchProcess, psutil.AccessDenied): 63 except (device_errors.CommandTimeoutError, 70 except device_errors.CommandTimeoutError: 78 except device_errors.CommandFailedError: 83 except device_errors.CommandTimeoutError: 91 except device_errors.CommandFailedError: 96 except device_errors.CommandTimeoutError: 143 except IOError: [all …]
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.py | 24 except getopt.error, msg: 31 except ValueError, msg: 71 except: 86 except SyntaxError, err: 95 except SystemExit, how: 99 except: 112 except SystemExit, how: 114 except:
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 380 except: 387 except: 394 except KeyError: 396 except: 403 except: 412 except: 414 except: 421 except: 424 except: 431 except: [all …]
|
/external/selinux/gui/ |
D | modulesPage.py | 25 except ImportError: 48 except: 52 except ImportError: 96 except: 113 except: 120 except ValueError as e: 136 except ValueError as e: 154 except ValueError as e: 165 except ValueError as e: 200 except ValueError as e:
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_recovery.py | 38 except (psutil.NoSuchProcess, psutil.AccessDenied): 47 except (psutil.NoSuchProcess, psutil.AccessDenied): 53 except (psutil.NoSuchProcess, psutil.AccessDenied): 66 except (device_errors.CommandTimeoutError, 74 except device_errors.CommandTimeoutError: 87 except (device_errors.CommandFailedError, 93 except device_errors.CommandTimeoutError: 102 except (device_errors.CommandFailedError, 108 except device_errors.CommandTimeoutError: 161 except IOError: [all …]
|
12345678910>>...509