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 pablogsal
Recipients berker.peksag, pablogsal, serhiy.storchaka, vstinner
Date 2017-10-15.14:13:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508076818.72.0.213398074469.issue31786@psf.upfronthosting.co.za>
In-reply-to
Content
I have added a Pull Request fixing this issue. The current implementation is checking in the syscall if the value for ms before rounding was negative.

To test for this, I call poll.poll in a thread and check that the thread is alive after a join with timeout (so this means it has blocked). Then to clean up, I write to a pipe and therefore it unblocks.

The implementation is available in the PR:

https://github.com/python/cpython/pull/4003
History
Date User Action Args
2017-10-15 14:13:38pablogsalsetrecipients: + pablogsal, vstinner, berker.peksag, serhiy.storchaka
2017-10-15 14:13:38pablogsalsetmessageid: <1508076818.72.0.213398074469.issue31786@psf.upfronthosting.co.za>
2017-10-15 14:13:38pablogsallinkissue31786 messages
2017-10-15 14:13:38pablogsalcreate