On 8 September 2017 at 12:40, Nathaniel Smith <[email protected]> wrote: > Would it make sense to also move signal handlers to run in this > thread? Those are the other major source of nasty re-entrancy > problems.
Python level signal handlers are already only run in the main thread, so applications that want to ensure signals don't run at arbitrary points in their code are already free to push all their application logic into a subthread and have the main thread be purely a signal handling thread. Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
