[issue6634] sys.exit() called from threads other than the main one: undocumented behaviour
Feb. 3, 2015
1:38 a.m.
Jan-Philip Gehrcke added the comment: For Python 2.7, we will not change behavior, even if unexpected. Instead, the sys.exit-docs should be adjusted and - warn about the fact that nothing is written to stderr if sys.exit(msg) gets called from a non-primary thread, and - note that SystemExit raised in a non-primary thread lets the thread exit silently. I have attached a corresponding patch, please review my wording! ---------- keywords: +patch Added file: http://bugs.python.org/file37983/issue6634_py27.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue6634> _______________________________________
4087
Age (days ago)
4087
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan-Philip Gehrcke