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

Vidhya report at bugs.python.org
Mon Feb 28 20:17:14 EST 2022


Vidhya <vidhya.friend at gmail.com> added the comment:

[Entry level contributor seeking guidance]
If this is still open, I can work on this.

I plan to add the following in sys.exit() and add a reference to thread.exit() at https://docs.python.org/3/library/sys.html#sys.exit:

When called from a thread other than the main thread, this causes the thread to exit silently, and is equivalent to calling :func:`thread.exit`.

Please correct if anything wrong.

----------
nosy: +vidhya

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


More information about the Python-bugs-list mailing list