STINNER Victor added the comment: Here is a patch:
Issue #18932, selectors: Optimize the modify() method of selectors Optimize also register() and unregister() methods of KqueueSelector: only call kqueue.control() once. ---------- keywords: +patch Added file: http://bugs.python.org/file38014/selectors_optimize_modify.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com