[docs] [issue6634] sys.exit() called from threads other than the main one: undocumented behaviour
report at bugs.python.org
Fri Mar 23 20:16:34 CET 2012
David Manowitz <david.manowitz at gmail.com> added the comment:
I don't see why this should be considered acceptable behavior. Why don't threads have their own ThreadExit exception, rather than overloading the use, and therefore, the meaning, of the SystemExit exception? As indicated by their names, sys.exit and the SystemExit exception should *only* be used to exit the entire system, not just a thread!
components: +Library (Lib)
Python tracker <report at bugs.python.org>
More information about the docs