[docs] [issue6634] sys.exit() called from threads other than the main one: undocumented behaviour

David Manowitz 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)
nosy: +David.Manowitz

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6634>
_______________________________________


More information about the docs mailing list