[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 27b951c63353345cdf7a9a8c4c8133a5dafd6a80 by Serhiy Storchaka (Riccardo Coccioli) in branch '2.7': [2.7] bpo-31334: Fix timeout in select.poll.poll() (GH-3277) (#4034) https://github.com/python/cpython/commit/27b951c63353345cdf7a9a8c4c8133a5dafd

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 97abcabc195b87d6a5562dbb867a469fac27d3f6 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31334: Fix timeout in select.poll.poll() (GH-3277) (#4033) https://github.com/python/cpython/commit/97abcabc195b87d6a5562dbb867a469fa

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-18 Thread Riccardo Coccioli
Change by Riccardo Coccioli : -- pull_requests: +4008 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +4007 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6cfa927ceb931ad968b5b03e4a2bffb64a8a0604 by Victor Stinner (Riccardo Coccioli) in branch 'master': bpo-31334: Fix timeout in select.poll.poll() (GH-3277) https://github.com/python/cpython/commit/6cfa927ceb931ad968b5b03e4a2bffb64a8a0604

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-16 Thread Riccardo Coccioli
Riccardo Coccioli added the comment: Although it's documented as -1 in Linux man page [1], from my quick tests I was not able to get any error with negative values different from -1 and it seems to wait indefinitely as expected. Looking also at its implementation in [2], it doesn't seem to di

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-16 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Shouldn't epoll_poll() be fixed too? Only -1 is documented as an infinity timeout in epoll_wait (2). -- nosy: +serhiy.storchaka ___ Python tracker

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-10-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: -> patch review versions: -Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___ ___ Pyt

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-09-05 Thread Riccardo Coccioli
Riccardo Coccioli added the comment: This can actually be reproduced with Python 2.7 too (thanks @thiell to let me know). At first I thought that it was not because it doesn't repro with the stock macOS-shipped Python 2.7.10 on macOS Sierra 10.12.6, where the select.poll() is not available at

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-09-03 Thread Riccardo Coccioli
Changes by Riccardo Coccioli : -- pull_requests: +3320 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue31334] select.poll.poll fails on BSDs with arbitrary negative timeouts

2017-09-03 Thread Riccardo Coccioli
New submission from Riccardo Coccioli: According to the Python documentation for the 'poll.poll([timeout])' method in the 'select' module, any negative value for the 'timeout' parameter is valid and should have the same behaviour [1]: "If timeout is omitted, negative, or None, the call will