On 2021-11-10, Paulo da Silva <[email protected]> wrote: > Hi! > > How do I handle a SIGINT (or any other signal) avoid nesting?
I don't think you need to. Python will only call signal handlers in the main thread, so a handler can't be executed while another handler is running anyway. -- https://mail.python.org/mailman/listinfo/python-list
