Equivalent of thread.interrupt_main() in Python 3 Equivalent of thread.interrupt_main() in Python 3 python-3.x python-3.x