[issue28087] macOS 12 poll syscall returns prematurely

STINNER Victor report at bugs.python.org
Wed May 3 05:41:40 EDT 2017


STINNER Victor added the comment:

Instead of skipping the test, it would be safer to not provide select.poll() if it's known to be broken. Curl added a check in configure:
https://github.com/curl/curl/commit/9297ca49f5f3caca938a679b9c1feeb719e61ddb

The problem is that I understood that Python provides a single binary for all supported macOS versions. So if we go for a check, it should be done as runtime, as the current select_have_broken_poll() test written for macOS.

On macOS without the bug, curl check takes 0.5 second which is not ideal :-/

Would it be possible to design a test which doesn't block?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28087>
_______________________________________


More information about the Python-bugs-list mailing list