STINNER Victor added the comment: Example of test_connect_eintr3.py output on Linux (3.18):
Register SIGINT Register SIGALRM Register SIGWINCH Register SIGTERM Register SIGCHLD Send SIGALRM every 200.0 ms Run func() during 5.0 seconds Type CTRL+c, resize the window, etc. []_____[]_____[]_____[]_____[**********][**********][]______[**********][]_____[]____[**********][**********] Test completed in 5.4 sec func() has been called 12 times Got 85 signals Got 50 signals during connect() Example of test_connect_eintr3.py output on Mac OS X Yosemite (10.10): Register SIGINT Register SIGALRM Register SIGWINCH Register SIGTERM Register SIGCHLD Send SIGALRM every 200.0 ms Run func() during 5.0 seconds Type CTRL+c, resize the window, etc. []______[*********][***********][**********]_[********][***********] Test completed in 5.3 sec func() has been called 6 times Got 55 signals Got 49 signals during connect() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23618> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com