Zhibin Dong <developerd...@gmail.com> added the comment:
Yes, I think you are right. In the second solution, the callback of SIGINT will be append to the end of one task loop. If that code is defined in a task by some user, KeyboardInterrupt will not be raised. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39622> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com