The Python Oracle

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

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Life in a Drop

--

Chapters
00:00 Question
01:37 Accepted answer (Score 7)
02:41 Answer 2 (Score 0)
03:13 Thank you

--

Full question
https://stackoverflow.com/questions/1209...

Question links:
[In the docs for ]: http://docs.python.org/library/sys.html#...
[thread.exit()]: http://docs.python.org/library/thread.ht...

Answer 1 links:
[page]: http://docs.python.org/library/threading...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #multithreading #exit #sys

#avk47