Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: notice programs that die too fast on Python 3.5
Background: Python 3.5 changes select.select() to handle EINTR internally (PEP 475). Our main loop used to rely on select() returning early when a SIGCHLD signal arrives, so this change broke our timing measurement logic and made a unit test fail on Python 3.5. I implemented one of the two suggested workarounds in the PEP: signal.set_wakeup_fd() (which is available since Python 2.6) will now tell our select() to wake up whenever a signal arrives.
- Loading branch information