Message330388
If a call to select.select() was interrupted by a signal and the select syscall set an errno of EINTR, then under PEP 475 the select call should be re-executed.
If, however, there is a signal handler which takes enough time that the select's timeout expires, select() is not retried, and the rlist is returned as-is (with fds in it which are not ready for reading).
Under this condition, either select() should be re-run with a timeout of 0, or the fd lists should be emptied before returning.
Example code which reproduces the problem attached. |
|
Date |
User |
Action |
Args |
2018-11-25 13:19:06 | Brian Maissy | set | recipients:
+ Brian Maissy |
2018-11-25 13:19:06 | Brian Maissy | set | messageid: <1543151946.49.0.788709270274.issue35310@psf.upfronthosting.co.za> |
2018-11-25 13:19:06 | Brian Maissy | link | issue35310 messages |
2018-11-25 13:19:05 | Brian Maissy | create | |
|