On this page
threading.ExceptHookArgs
Prev: threading.excepthook | Up: threading | Next: threading.get_ident
Rel: threading.active_count, threading.Barrier, threading.BoundedSemaphore, threading.BrokenBarrierError
Ref: docs.python.org โ threading.ExceptHookArgs
Tags: #public #python3 #stdlib #threading
Import
import threading
from threading import ExceptHookArgs
Signature & Overview
threading.ExceptHookArgs(iterable=(), /)
ExceptHookArgs Type used to pass arguments to threading.excepthook.
Methods & Attributes
ExceptHookArgs.count(self, value, /)โ Return number of occurrences of value.ExceptHookArgs.index(self, value, start=0, stop=9223372036854775807, /)โ Return first index of value.
Usage
import threading
# NamedTuple passed to threading.excepthook(args)
assert hasattr(threading, "ExceptHookArgs")
Gotchas
- Attributes:
.exc_type,.exc_value,.exc_traceback, and.thread.
REPL Inspect
from threading import ExceptHookArgs
help(ExceptHookArgs)
Linked from
Related notes
- tuts/python3/stdlib_module/threading/excepthook Linked here; links to this page; shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/get_ident Linked here; links to this page; shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/threading/active_count Linked here; shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/Barrier Linked here; shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/BoundedSemaphore Linked here; shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/BrokenBarrierError Linked here; shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/Condition shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/current_thread shared tags: #stdlib, #threading
- tuts/python3/stdlib_module/threading/enumerate shared tags: #stdlib, #threading