• Home
  • Raw
  • Download

Lines Matching refs:exc

33 root class :exc:`BaseException`, the associated value is present as the
42 programmers are encouraged to derive new exceptions from the :exc:`Exception`
43 class or one of its subclasses, and not from :exc:`BaseException`. More
52 inherited by user-defined classes (for that, use :exc:`Exception`). If
62 exceptions (like :exc:`IOError`) expect a certain number of arguments and
73 Changed to inherit from :exc:`BaseException`.
78 The base class for all built-in exceptions except :exc:`StopIteration`,
79 :exc:`GeneratorExit`, :exc:`KeyboardInterrupt` and :exc:`SystemExit`.
80 :exc:`StandardError` itself is derived from :exc:`Exception`.
86 arithmetic errors: :exc:`OverflowError`, :exc:`ZeroDivisionError`,
87 :exc:`FloatingPointError`.
99 a mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. This
106 :exc:`IOError`, :exc:`OSError`. When exceptions of this type are created with a
114 When an :exc:`EnvironmentError` exception is instantiated with a 3-tuple, the
140 attribute assignments at all, :exc:`TypeError` is raised.)
162 directly inherits from :exc:`BaseException` instead of :exc:`StandardError`
168 Changed to inherit from :exc:`BaseException`.
176 This class is derived from :exc:`EnvironmentError`. See the discussion above
180 Changed :exc:`socket.error` to use this as a base class.
193 :exc:`TypeError` is raised.)
211 :exc:`BaseException` so as to not be accidentally caught by code that catches
212 :exc:`Exception` and thus prevent the interpreter from exiting.
215 Changed to inherit from :exc:`BaseException`.
238 This exception is derived from :exc:`RuntimeError`. In user defined base
249 This exception is derived from :exc:`EnvironmentError`. It is raised when a
268 :exc:`MemoryError` than give up) and for most operations with plain integers,
282 Previously known as the :exc:`weakref.ReferenceError` exception.
295 there are no further values. This is derived from :exc:`Exception` rather
296 than :exc:`StandardError`, since this is not considered an error in its
317 subclass of :exc:`SyntaxError`.
323 This is a subclass of :exc:`IndentationError`.
350 directly from :exc:`BaseException` and not :exc:`StandardError`, since it is not
360 The exception inherits from :exc:`BaseException` instead of :exc:`StandardError`
361 or :exc:`Exception` so that it is not accidentally caught by code that catches
362 :exc:`Exception`. This allows the exception to properly propagate up and cause
366 Changed to inherit from :exc:`BaseException`.
379 :exc:`NameError`.
387 subclass of :exc:`ValueError`.
389 :exc:`UnicodeError` has attributes that describe the encoding or decoding
419 :exc:`UnicodeError`.
427 :exc:`UnicodeError`.
435 of :exc:`UnicodeError`.
444 more precise exception such as :exc:`IndexError`.
459 corresponding ``errno.h`` values. This is a subclass of :exc:`OSError`.