René's URL Explorer Experiment
go
Title:
Exception Handling — Python v3.2.6 documentation
direct link
Domain:
docs.python.org
None
text/html; charset=utf-8
Links
:
index
https://docs.python.org/3.2/genindex.html
modules
https://docs.python.org/3.2/py-modindex.html
next
https://docs.python.org/3.2/c-api/utilities.html
previous
https://docs.python.org/3.2/c-api/refcounting.html
Python
http://www.python.org/
3.2.6 Documentation
https://docs.python.org/3.2/index.html
Python/C API Reference Manual
https://docs.python.org/3.2/c-api/index.html
¶
https://docs.python.org/3.2/c-api/exceptions.html#exception-handling
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_PrintEx
sys.last_type
https://docs.python.org/3.2/library/sys.html#sys.last_type
sys.last_value
https://docs.python.org/3.2/library/sys.html#sys.last_value
sys.last_traceback
https://docs.python.org/3.2/library/sys.html#sys.last_traceback
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Print
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Occurred
PyErr_Restore()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Restore
Py_DECREF()
https://docs.python.org/3.2/c-api/refcounting.html#Py_DECREF
PyErr_ExceptionMatches()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_ExceptionMatches
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_ExceptionMatches
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_GivenExceptionMatches
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_NormalizeException
PyErr_Fetch()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Fetch
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Clear
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Fetch
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Restore
PyErr_Fetch()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Fetch
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetString
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetObject
PyErr_SetString()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetString
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_Format
PyUnicode_FromFormat()
https://docs.python.org/3.2/c-api/unicode.html#PyUnicode_FromFormat
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetNone
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_BadArgument
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_NoMemory
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromErrno
PyErr_CheckSignals()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_CheckSignals
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromErrnoWithFilename
PyErr_SetFromErrno()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromErrno
IOError
https://docs.python.org/3.2/library/exceptions.html#IOError
OSError
https://docs.python.org/3.2/library/exceptions.html#OSError
sys.getfilesystemencoding()
https://docs.python.org/3.2/library/sys.html#sys.getfilesystemencoding
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromWindowsErr
WindowsError
https://docs.python.org/3.2/library/exceptions.html#WindowsError
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetExcFromWindowsErr
PyErr_SetFromWindowsErr()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromWindowsErr
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromWindowsErrWithFilename
PyErr_SetFromWindowsErr()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromWindowsErr
WindowsError
https://docs.python.org/3.2/library/exceptions.html#WindowsError
sys.getfilesystemencoding()
https://docs.python.org/3.2/library/sys.html#sys.getfilesystemencoding
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetExcFromWindowsErrWithFilename
PyErr_SetFromWindowsErrWithFilename()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetFromWindowsErrWithFilename
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SyntaxLocationEx
SyntaxError
https://docs.python.org/3.2/library/exceptions.html#SyntaxError
SyntaxError
https://docs.python.org/3.2/library/exceptions.html#SyntaxError
sys.getfilesystemencoding()
https://docs.python.org/3.2/library/sys.html#sys.getfilesystemencoding
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SyntaxLocation
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_BadInternalCall
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_WarnEx
PyErr_WarnEx()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_WarnEx
warnings
https://docs.python.org/3.2/library/warnings.html#module-warnings
Py_DECREF()
https://docs.python.org/3.2/c-api/refcounting.html#Py_DECREF
PyObject*
https://docs.python.org/3.2/c-api/structures.html#PyObject
warnings
https://docs.python.org/3.2/library/warnings.html#module-warnings
-W
https://docs.python.org/3.2/using/cmdline.html#cmdoption-W
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_WarnExplicit
warnings.warn_explicit()
https://docs.python.org/3.2/library/warnings.html#warnings.warn_explicit
sys.getfilesystemencoding()
https://docs.python.org/3.2/library/sys.html#sys.getfilesystemencoding
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_WarnFormat
PyErr_WarnEx()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_WarnEx
PyUnicode_FromFormat()
https://docs.python.org/3.2/c-api/unicode.html#PyUnicode_FromFormat
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_CheckSignals
signal
https://docs.python.org/3.2/library/signal.html#module-signal
KeyboardInterrupt
https://docs.python.org/3.2/library/exceptions.html#KeyboardInterrupt
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_SetInterrupt
PyErr_CheckSignals()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_CheckSignals
KeyboardInterrupt
https://docs.python.org/3.2/library/exceptions.html#KeyboardInterrupt
¶
https://docs.python.org/3.2/c-api/exceptions.html#PySignal_SetWakeupFd
signal.set_wakeup_fd()
https://docs.python.org/3.2/library/signal.html#signal.set_wakeup_fd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_NewException
Exception
https://docs.python.org/3.2/library/exceptions.html#Exception
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_NewExceptionWithDoc
PyErr_NewException()
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_NewException
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyErr_WriteUnraisable
__del__()
https://docs.python.org/3.2/reference/datamodel.html#object.__del__
¶
https://docs.python.org/3.2/c-api/exceptions.html#exception-objects
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyException_GetTraceback
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyException_SetTraceback
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyException_GetContext
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyException_SetContext
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyException_GetCause
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyException_SetCause
¶
https://docs.python.org/3.2/c-api/exceptions.html#unicode-exception-objects
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_Create
UnicodeDecodeError
https://docs.python.org/3.2/library/exceptions.html#UnicodeDecodeError
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
Py_UNICODE
https://docs.python.org/3.2/c-api/unicode.html#Py_UNICODE
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_Create
UnicodeEncodeError
https://docs.python.org/3.2/library/exceptions.html#UnicodeEncodeError
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
Py_UNICODE
https://docs.python.org/3.2/c-api/unicode.html#Py_UNICODE
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_Create
UnicodeTranslateError
https://docs.python.org/3.2/library/exceptions.html#UnicodeTranslateError
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_GetEncoding
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_GetEncoding
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_GetObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_GetObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_GetObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_GetStart
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_GetStart
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_GetStart
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_SetStart
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_SetStart
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_SetStart
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_GetEnd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_GetEnd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_GetEnd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_SetEnd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_SetEnd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_SetEnd
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_GetReason
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_GetReason
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_GetReason
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeDecodeError_SetReason
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeEncodeError_SetReason
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#PyUnicodeTranslateError_SetReason
¶
https://docs.python.org/3.2/c-api/exceptions.html#recursion-control
¶
https://docs.python.org/3.2/c-api/exceptions.html#Py_EnterRecursiveCall
PyOS_CheckStack()
https://docs.python.org/3.2/c-api/sys.html#PyOS_CheckStack
MemoryError
https://docs.python.org/3.2/library/exceptions.html#MemoryError
RuntimeError
https://docs.python.org/3.2/library/exceptions.html#RuntimeError
RuntimeError
https://docs.python.org/3.2/library/exceptions.html#RuntimeError
¶
https://docs.python.org/3.2/c-api/exceptions.html#Py_LeaveRecursiveCall
Py_EnterRecursiveCall()
https://docs.python.org/3.2/c-api/exceptions.html#Py_EnterRecursiveCall
Py_EnterRecursiveCall()
https://docs.python.org/3.2/c-api/exceptions.html#Py_EnterRecursiveCall
reprlib.recursive_repr()
https://docs.python.org/3.2/library/reprlib.html#reprlib.recursive_repr
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#Py_ReprEnter
dict
https://docs.python.org/3.2/library/stdtypes.html#dict
list
https://docs.python.org/3.2/library/functions.html#list
PyObject
https://docs.python.org/3.2/c-api/structures.html#PyObject
¶
https://docs.python.org/3.2/c-api/exceptions.html#Py_ReprLeave
Py_ReprEnter()
https://docs.python.org/3.2/c-api/exceptions.html#Py_ReprEnter
Py_ReprEnter()
https://docs.python.org/3.2/c-api/exceptions.html#Py_ReprEnter
¶
https://docs.python.org/3.2/c-api/exceptions.html#standard-exceptions
PyObject*
https://docs.python.org/3.2/c-api/structures.html#PyObject
BaseException
https://docs.python.org/3.2/library/exceptions.html#BaseException
Exception
https://docs.python.org/3.2/library/exceptions.html#Exception
ArithmeticError
https://docs.python.org/3.2/library/exceptions.html#ArithmeticError
LookupError
https://docs.python.org/3.2/library/exceptions.html#LookupError
AssertionError
https://docs.python.org/3.2/library/exceptions.html#AssertionError
AttributeError
https://docs.python.org/3.2/library/exceptions.html#AttributeError
EOFError
https://docs.python.org/3.2/library/exceptions.html#EOFError
EnvironmentError
https://docs.python.org/3.2/library/exceptions.html#EnvironmentError
FloatingPointError
https://docs.python.org/3.2/library/exceptions.html#FloatingPointError
IOError
https://docs.python.org/3.2/library/exceptions.html#IOError
ImportError
https://docs.python.org/3.2/library/exceptions.html#ImportError
IndexError
https://docs.python.org/3.2/library/exceptions.html#IndexError
KeyError
https://docs.python.org/3.2/library/exceptions.html#KeyError
KeyboardInterrupt
https://docs.python.org/3.2/library/exceptions.html#KeyboardInterrupt
MemoryError
https://docs.python.org/3.2/library/exceptions.html#MemoryError
NameError
https://docs.python.org/3.2/library/exceptions.html#NameError
NotImplementedError
https://docs.python.org/3.2/library/exceptions.html#NotImplementedError
OSError
https://docs.python.org/3.2/library/exceptions.html#OSError
OverflowError
https://docs.python.org/3.2/library/exceptions.html#OverflowError
ReferenceError
https://docs.python.org/3.2/library/exceptions.html#ReferenceError
RuntimeError
https://docs.python.org/3.2/library/exceptions.html#RuntimeError
SyntaxError
https://docs.python.org/3.2/library/exceptions.html#SyntaxError
SystemError
https://docs.python.org/3.2/library/exceptions.html#SystemError
SystemExit
https://docs.python.org/3.2/library/exceptions.html#SystemExit
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
ValueError
https://docs.python.org/3.2/library/exceptions.html#ValueError
WindowsError
https://docs.python.org/3.2/library/exceptions.html#WindowsError
ZeroDivisionError
https://docs.python.org/3.2/library/exceptions.html#ZeroDivisionError
weakref.ReferenceError
https://docs.python.org/3.2/library/weakref.html#weakref.ReferenceError
Table Of Contents
https://docs.python.org/3.2/contents.html
Exception Handling
https://docs.python.org/3.2/c-api/exceptions.html
Exception Objects
https://docs.python.org/3.2/c-api/exceptions.html#exception-objects
Unicode Exception Objects
https://docs.python.org/3.2/c-api/exceptions.html#unicode-exception-objects
Recursion Control
https://docs.python.org/3.2/c-api/exceptions.html#recursion-control
Standard Exceptions
https://docs.python.org/3.2/c-api/exceptions.html#standard-exceptions
Reference Counting
https://docs.python.org/3.2/c-api/refcounting.html
Utilities
https://docs.python.org/3.2/c-api/utilities.html
Report a Bug
https://docs.python.org/3.2/bugs.html
Show Source
https://docs.python.org/3.2/_sources/c-api/exceptions.txt
index
https://docs.python.org/3.2/genindex.html
modules
https://docs.python.org/3.2/py-modindex.html
next
https://docs.python.org/3.2/c-api/utilities.html
previous
https://docs.python.org/3.2/c-api/refcounting.html
Python
http://www.python.org/
3.2.6 Documentation
https://docs.python.org/3.2/index.html
Python/C API Reference Manual
https://docs.python.org/3.2/c-api/index.html
Copyright
https://docs.python.org/3.2/copyright.html
Please donate.
http://www.python.org/psf/donations/
Found a bug
https://docs.python.org/3.2/bugs.html
Sphinx
http://sphinx.pocoo.org/
URLs of
crawlers that visited me
.