[issue28087] macOS 12 poll syscall returns prematurely

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: No update since 2017, I close the issue. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2017-08-10 Thread STINNER Victor
STINNER Victor added the comment: What is the status of this issue? Is there still something to do? If you ask me my opinion, I would just suggest to remove select.poll() on macOS to stop to have to bother with poll() bugs which only trigger at runtime :-/ -- versions: -Python 3.5

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread Ennis Massey
Ennis Massey added the comment: Well, the tests worked on macOS 10.12.6 beta, although my school network broke the urllib tests Many Thanks, Ennis Massey ennisbarad...@gmail.com -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread Ennis Massey
Ennis Massey added the comment: Actually, having managed to get macOS to update, it seems to be odd, as it correctly delays. Not sure what’s going on there, or whether it’s my setup. I’ll look into it some more. I’m also thinking of writing/finding a set of tests for core POSIX stuff like

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread STINNER Victor
STINNER Victor added the comment: Ned Deily added the comment: > Unfortunately, with the tests reenabled, they still fail with the most recent > release of macOS 10.12 (10.12,5) Oh. In that case, I will update my patch to blacklist macOS versions with the bug (remove select.poll() depending on

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread Ned Deily
Ned Deily added the comment: Unfortunately, with the tests reenabled, they still fail with the most recent release of macOS 10.12 (10.12,5) so perhaps the curl issue was a different problem? -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-19 Thread STINNER Victor
STINNER Victor added the comment: I abandonned PR 1426 which proposed to blacklist bogus macOS versions, and instead I proposed a new PR to simply reenable previsouly skipped tests (because of the bug which is now fixed). https://github.com/python/cpython/pull/1664 I'm unable to test my own

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-19 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1759 ___ Python tracker ___ ___

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-18 Thread Ned Deily
Ned Deily added the comment: If the problem is fixed in 10.12.2, I agree with gps that there is no need to add a workaround for 10.12.0 and .1. We should only ever need to support the most recent macOS point release; it is the user's responsibility to keep up-to-date and with most users

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-07 Thread STINNER Victor
STINNER Victor added the comment: You want to get poll() on macOS. I'm ok with that but I would like to see tests for it. We should remove the skip in the test. Ok, I will update my PR to just blacklist macOS 10.12.0 and 10.2.1, and reenable the test. I just have to find the Darwin versions. I

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: Do we need to work around this issue at all? Apple appears to have fixed it already: https://github.com/opensource-apple/xnu/commit/0cccba1c831cfe36f0d67d672f8aa67b4a7d4b6a#diff-e61c2932bb9d5cea2dd0732acd8ec626R1783 A comment in

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: The only thing CPython should do is apply workarounds to any standard library internal uses of poll with 0 fds guarded by a MacOS platform check. -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: Please DO NOT REMOVE select.poll() on MacOS. It is still useful. Apple needs to live with their bug that they refuse to acknowledge by forcing developers to learn the special case that it now breaks in (0 fds). We should not pretend that poll() does not

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23b312b087582cec5cc8c528d267eb42061601ac by Victor Stinner in branch '3.5': [3.6] bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS (#463) (#1424)

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-03 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/pull/1426 implements the blacklist option. I chose the conservative approach: hope that poll() will be fixed in 16.6.x. The problem of this approach is that test_asyncore and test_eintr will fail again if Apple doesn't fix

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-03 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1531 ___ Python tracker ___ ___

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-03 Thread STINNER Victor
STINNER Victor added the comment: > Would it be possible to design a test which doesn't block? If there is no obvious way to detect poll() functionnaly, a workaround is to get the Darwin version from uname() and blacklist macOS versions known to have the bug (disable select.poll() on these

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-03 Thread STINNER Victor
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

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-03 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1530 ___ Python tracker ___ ___

[issue28087] macOS 12 poll syscall returns prematurely

2017-04-04 Thread Ennis Massey
Ennis Massey added the comment: Makes sense it would also fail. They both use the same syscall. Gud job on the backport Sent from my iPhone > On 4/04/2017, at 4:50 AM, STINNER Victor wrote: > > > STINNER Victor added the comment: > > Ah! Python 2.7 tests succeeded

[issue28087] macOS 12 poll syscall returns prematurely

2017-04-03 Thread STINNER Victor
STINNER Victor added the comment: Ah! Python 2.7 tests succeeded on Sierra! http://buildbot.python.org/all/builders/x86-64%20Sierra%202.7/builds/3 -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2017-04-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23d6eb656ec29140fcca1c9261b7953e2312b171 by Victor Stinner in branch '2.7': bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) (#973) https://github.com/python/cpython/commit/23d6eb656ec29140fcca1c9261b7953e2312b171

[issue28087] macOS 12 poll syscall returns prematurely

2017-04-03 Thread STINNER Victor
STINNER Victor added the comment: test_asyncore also fails on Python 2.7 on macOS Sierra. So I proposed a backport: see my PR 973. == FAIL: test_handle_expt (test.test_asyncore.TestAPI_UsePoll)

[issue28087] macOS 12 poll syscall returns prematurely

2017-04-03 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1150 ___ Python tracker ___ ___

[issue28087] macOS 12 poll syscall returns prematurely

2017-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -1036 ___ Python tracker ___

[issue28087] macOS 12 poll syscall returns prematurely

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1036 ___ Python tracker ___ ___

[issue28087] macOS 12 poll syscall returns prematurely

2017-03-24 Thread Ned Deily
Ned Deily added the comment: New changeset de04644627f82d9dc48b3423def7ff5b4aa1926a by Ned Deily in branch 'master': bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) https://github.com/python/cpython/commit/de04644627f82d9dc48b3423def7ff5b4aa1926a --

[issue28087] macOS 12 poll syscall returns prematurely

2017-03-24 Thread Ned Deily
Ned Deily added the comment: New changeset 1d391f926b37484b8d4b326003a72c0084db19ec by Ned Deily in branch '3.6': [3.6] bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS (#463) https://github.com/python/cpython/commit/1d391f926b37484b8d4b326003a72c0084db19ec --

[issue28087] macOS 12 poll syscall returns prematurely

2017-03-04 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +386 ___ Python tracker ___ ___ Python-bugs-list

[issue28087] macOS 12 poll syscall returns prematurely

2017-03-04 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +385 ___ Python tracker ___ ___ Python-bugs-list

[issue28087] macOS 12 poll syscall returns prematurely

2017-02-18 Thread Nick Coghlan
Nick Coghlan added the comment: Sorry, I meant test_poll and test_asyncore as described in http://bugs.python.org/issue28456 (I misremembered due to the test_poll failure mentioning EINTR) -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2017-02-17 Thread Nick Coghlan
Nick Coghlan added the comment: The failures in test_eintr and test_asyncio are confusing new contributors on Mac OS X - could we get some variant of this workaround merged until Apple fix their bug? -- nosy: +ncoghlan ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-10-13 Thread Ned Deily
Ned Deily added the comment: (From https://github.com/curl/curl/issues/1057, the curl project has also seen this and opened an issue with Apple against macOS 10.12, RADAR 28372390.) -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ned Deily
Ned Deily added the comment: I'm not sure it should be a permanent fix. Perhaps you could add the test decorator so that it is only tested on 10.12. I don't have time to look at it more myself before b1. -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Robert Collins
Robert Collins added the comment: @Ned - any objection to my committing this at this point? -- nosy: +rbcollins ___ Python tracker ___

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Robert Collins
Changes by Robert Collins : -- stage: patch review -> commit review ___ Python tracker ___

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Ennis Massey added the comment: Ok, cool Many Thanks, Ennis Massey Wet Ferret Studios -- Added file: http://bugs.python.org/file44577/smime.p7s ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ned Deily
Ned Deily added the comment: OK, if you get a chance, it would be helpful to submit a RADAR on it and update this issue. I neglected to mention that your patch does seem to work, e.g., test_eintr no longer fails. -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Ennis Massey added the comment: Apple doesn’t allow access to other peoples bug reports, so I couldn’t say whether it’s been reported. Many Thanks, Ennis Massey Wet Ferret Studios -- Added file: http://bugs.python.org/file44576/smime.p7s

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This seems to be a problem visible in the public betas of the upcoming macOS 12 release, not in previous releases (10.11 and earlier). Do you know if the problem has been reported to Apple? Also, I've uploaded a reviewable version of your