Antoine Pitrou <pitrou at free.fr> added the comment: Why not instead add `loop.sock_close()`? ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue32038> _______________________________________