STINNER Victor added the comment: Attached patch fixes the issue, but it has no unit test :-(
On Windows, it looks like IocpProactor can also raise an error if the timeout is too large: # GetQueuedCompletionStatus() has a resolution of 1 millisecond, # round away from zero to wait *at least* timeout seconds. ms = math.ceil(timeout * 1e3) if ms >= INFINITE: raise ValueError("timeout too big") with INFINITE = 0xffffffff. ---------- keywords: +patch nosy: +gvanrossum, neologix Added file: http://bugs.python.org/file33880/asyncio_timeout_overflow.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20493> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com