STINNER Victor added the comment: About Windows, it looks like select() and GetQueuedCompletionStatus() (poll function the IocpProactor) round the timeout away from zero (the timeout is a number of milliseconds, an integer).
Examples with GetQueuedCompletionStatus(): - 2 ms (timeout) => 15 ms (elasped time) - 100 ms => 109 ms - 157 ms => 172 ms Example with select(): - 2 ms => 16 ms - 100 ms => 110 ms - 156 ms => 171 ms ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20505> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com