bpo-35310: Clear select() lists before returning upon EINTR (GH-10877)
select() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, rlist, wlist and xlist should be cleared since select(2) left them unmodified.
O
Oran Avraham committed
7f52415a6d4841d77d3b7853e83b25a22e0048dc
Parent: 67a93b3
Committed by Victor Stinner <vstinner@redhat.com>
on 12/5/2018, 8:36:03 PM