• Home
  • Raw
  • Download

Lines Matching full:when

41 When raising (or re-raising) an exception in an :keyword:`except` or
47 When raising a new exception (rather than using a bare ``raise`` to re-raise
61 when debugging.
65 exception in :attr:`__cause__` is always shown when present. An implicitly
103 the argument(s) to the instance are returned, or the empty string when
146 Raised when a :ref:`buffer <bufferobjects>` related operation cannot be
152 The base class for the exceptions that are raised when a key or index used on
166 Raised when an :keyword:`assert` statement fails.
171 Raised when an attribute reference (see :ref:`attribute-references`) or
172 assignment fails. (When an object does not support attribute references or
176 arguments to the constructor. When set they represent the name of the attribute
185 Raised when the :func:`input` function hits an end-of-file condition (EOF)
187 :meth:`io.IOBase.readline` methods return an empty string when they hit EOF.)
197 Raised when a :term:`generator` or :term:`coroutine` is closed;
205 Raised when the :keyword:`import` statement has troubles trying to
206 load a module. Also raised when the "from list" in ``from ... import``
210 arguments to the constructor. When set they represent the name of the module
220 when a module could not be located. It is also raised when ``None``
228 Raised when a sequence subscript is out of range. (Slice indices are
237 Raised when a mapping (dictionary) key is not found in the set of existing keys.
244 Raised when the user hits the interrupt key (normally :kbd:`Control-C` or
253 Raised when an operation runs out of memory but the situation may still be
264 Raised when a local or global name is not found. This applies only to
269 constructor. When set it represent the name of the variable that was attempted
279 classes, abstract methods should raise this exception when they require
293 :data:`NotImplemented` for details on when to use it.
300 This exception is raised when a system function returns a system-related
312 the final :attr:`.errno` value. This behaviour only occurs when
314 inherited when subclassing.
364 Raised when the result of an arithmetic operation is too large to be
374 This exception is derived from :exc:`RuntimeError`. It is raised when the
384 This exception is raised when a weak reference proxy, created by the
392 Raised when an error is detected that doesn't fall in any of the other
404 given as an argument when constructing the exception, and defaults
407 When a :term:`generator` or :term:`coroutine` function
437 Raised when the parser encounters a syntax error. This may occur in an
440 or :func:`eval`, or when reading the initial script or standard input
490 Raised when indentation contains an inconsistent use of tabs and spaces.
496 Raised when the interpreter finds an internal error, but the situation does not
512 properly propagate up and cause the interpreter to exit. When it is not
535 Raised when an operation or function is applied to an object of inappropriate
543 Passing arguments of the wrong type (e.g. passing a :class:`list` when an
550 Raised when a reference is made to a local variable in a function or method, but
557 Raised when a Unicode-related encoding or decoding error occurs. It is a
587 Raised when a Unicode-related error occurs during encoding. It is a subclass of
593 Raised when a Unicode-related error occurs during decoding. It is a subclass of
599 Raised when a Unicode-related error occurs during translating. It is a subclass
605 Raised when an operation or function receives an argument that has the
612 Raised when the second argument of a division or modulo operation is zero. The
637 Raised when an operation would block on an object (e.g. socket) set
648 before it blocked. This attribute is available when using the
653 Raised when an operation on a child process failed.
665 A subclass of :exc:`ConnectionError`, raised when trying to write on a
672 A subclass of :exc:`ConnectionError`, raised when a connection attempt
678 A subclass of :exc:`ConnectionError`, raised when a connection attempt
684 A subclass of :exc:`ConnectionError`, raised when a connection is
690 Raised when trying to create a file or directory which already exists.
695 Raised when a file or directory is requested but doesn't exist.
700 Raised when a system call is interrupted by an incoming signal.
704 Python now retries system calls when a syscall is interrupted by a
710 Raised when a file operation (such as :func:`os.remove`) is requested
716 Raised when a directory operation (such as :func:`os.listdir`) is requested on
724 Raised when trying to run an operation without the adequate access
730 Raised when a given process doesn't exist.
735 Raised when a system function timed out at the system level.
767 Base class for warnings about deprecated features when those warnings are
805 Base class for warnings about deprecated features when those warnings are