This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gvanrossum, neologix, vstinner
Date 2014-02-03.00:40:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391388040.8.0.286247149946.issue20493@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-02-03 00:40:40vstinnersetrecipients: + vstinner, gvanrossum, neologix
2014-02-03 00:40:40vstinnersetmessageid: <1391388040.8.0.286247149946.issue20493@psf.upfronthosting.co.za>
2014-02-03 00:40:40vstinnerlinkissue20493 messages
2014-02-03 00:40:40vstinnercreate