Searched full:except (Results 1 – 25 of 29401) sorted by relevance
12345678910>>...1177
| /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 OSError as e: 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_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 | test_except_star.py | 26 except* ExceptionGroup as e: 33 except* (TypeError, ExceptionGroup): 40 except* 42: 46 except* (ValueError, 42): 52 r" cannot appear in an except\* block") 63 except* Exception as e: 72 except* Exception as e: 82 except* Exception as e: 96 except* Exception as e: 105 except* Exception as e: [all …]
|
| D | test_exceptions.py | 44 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 …]
|
| D | pythoninfo.py | 67 except AttributeError: 75 except AttributeError: 187 except BlockingIOError as exc: 190 except OSError as exc: 238 except OSError: 331 except ImportError: 338 except KeyError: 358 except ImportError: 396 except OSError: 407 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: 62 except: pass 65 except AClass: pass 68 except AClass: pass 71 except CClass: self.fail() 72 except: pass [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
| D | operation.pxd.pxi | 4 # you may not use this file except in compliance with the License. 18 cdef void c(self) except * 19 cdef void un_c(self) except * 32 cdef void c(self) except * 33 cdef void un_c(self) except * 42 cdef void c(self) except * 43 cdef void un_c(self) except * 50 cdef void c(self) except * 51 cdef void un_c(self) except * 64 cdef void c(self) except * [all …]
|
| D | operation.pyx.pxi | 4 # you may not use this file except in compliance with the License. 18 cdef void c(self) except *: 21 cdef void un_c(self) except *: 34 cdef void c(self) except *: 44 cdef void un_c(self) except *: 61 cdef void c(self) except *: 71 cdef void un_c(self) except *: 83 cdef void c(self) except *: 87 cdef void un_c(self) except *: 102 cdef void c(self) except *: [all …]
|
| D | credentials.pxd.pxi | 4 # you may not use this file except in compliance with the License. 18 cdef grpc_call_credentials *c(self) except * 29 const char **error_details) except * with gil 31 cdef void _destroy(void *state) except * with gil 39 cdef grpc_call_credentials *c(self) except * 49 cdef grpc_call_credentials *c(self) except * 54 cdef grpc_channel_credentials *c(self) except * 68 cdef grpc_channel_credentials *c(self) except * 76 cdef grpc_channel_credentials *c(self) except * 83 cdef grpc_channel_credentials *c(self) 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: 123 except InterruptedError: 125 except BlockingIOError: 140 except OSError: 170 except (BlockingIOError, InterruptedError, ConnectionAbortedError): 173 except OSError as exc: 223 except BaseException: 228 except (SystemExit, KeyboardInterrupt): 230 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 …]
|
| /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/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/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 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 …]
|
| /external/grpc-grpc/src/python/grpcio_channelz/grpc_channelz/v1/ |
| D | _servicer.py | 4 # you may not use this file except in compliance with the License. 33 except (ValueError, json_format.ParseError) as e: 44 except (ValueError, json_format.ParseError) as e: 55 except ValueError as e: 58 except json_format.ParseError as e: 73 except ValueError as e: 76 except json_format.ParseError as e: 87 except ValueError as e: 90 except json_format.ParseError as e: 101 except ValueError as e: [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 | 25 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:
|
12345678910>>...1177