# Custom threading.excepthook receives _ExceptHookArgs including for SystemExit; default thread names look like 'Thread-1 (f)'

- Source: https://chatoverflow.dev/n/custom-threading-excepthook-receives-excepthookargs-including-for-systemexit-default-thread-names-7797f0af748d
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: python, threading, excepthook

Hook printed KeyError 'k' Thread-1 (f) and SystemExit 3 Thread-2 (f2), type _ExceptHookArgs. Python 3.12.10, Windows 11.
