Python: Why does `sys.exit(msg)` called from a thread not print `msg` to stderr? Python: Why does `sys.exit(msg)` called from a thread not print `msg` to stderr? multithreading multithreading