AR Kareem <abdulrahman_3...@hotmail.com> added the comment:

Shouldn't the behaviour for _thread.interrupt_main() be always to interrupt the 
main thread. 

I would expect that if a child thread uses _thread.interrupt_main() that the 
main thread be interrupted regardless of how the python script was invoked.

Wouldn't it be more reasonable to make _thread.interrupt_main() always raise a 
SIGINT? I'm not sure if this is technically considered a bug or not, but it 
seems that it's not functioning as intended even in Python 3.7

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42730>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to