bpo-31334: Fix timeout in select.poll.poll() (GH-3277)
Always pass -1, or INFTIM where defined, to the poll() system call when a negative timeout is passed to the poll.poll([timeout]) method in the select module. Various OSes throw an error with arbitrary negative values.
R
Riccardo Coccioli committed
6cfa927ceb931ad968b5b03e4a2bffb64a8a0604
Parent: 2c15b29
Committed by Victor Stinner <victor.stinner@gmail.com>
on 10/17/2017, 7:45:07 PM