diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2018-09-11 17:29:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 17:29:48 (GMT) |
commit | b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc (patch) | |
tree | 115eff3060e514bb31b18719eb12a687e86310ad /Python/ast.c | |
parent | 0baa72f4b2e7185298d09cf64c7b591efcd22af0 (diff) | |
download | cpython-b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc.zip cpython-b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc.tar.gz cpython-b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc.tar.bz2 |
bpo-29386: Pass -1 to epoll_wait() when timeout is < -1 (GH-9040)
Although the kernel accepts any negative value for timeout, the
documented value to block indefinitely is -1.
This commit also makes the code similar to select.poll.poll().
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions