Message292869
| Author |
vstinner |
| Recipients |
MicroTransactionsMatterToo, ncoghlan, ned.deily, rbcollins, ronaldoussoren, vstinner |
| Date |
2017年05月03日.09:41:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1493804500.12.0.938208835628.issue28087@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|