[issue28087] macOS 12 poll syscall returns prematurely
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 <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] macOS 12 poll syscall returns prematurely
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 this, so we can avoid Apple screwing stuff up like they have. Many Thanks, Ennis Massey ennisbarad...@gmail.com -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] macOS 12 poll syscall returns prematurely
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 <rep...@bugs.python.org> wrote: > > > 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 <rep...@bugs.python.org> > <http://bugs.python.org/issue28087> > ___ -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] macOS 12 poll syscall returns prematurely
Ennis Massey added the comment: Ok, cool Many Thanks, Ennis Massey Wet Ferret Studios <http://wet-ferret-studios.azurewebsites.net/> -- Added file: http://bugs.python.org/file44577/smime.p7s ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ smime.p7s Description: S/MIME cryptographic signature ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] macOS 12 poll syscall returns prematurely
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 <http://wet-ferret-studios.azurewebsites.net/> -- Added file: http://bugs.python.org/file44576/smime.p7s ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ smime.p7s Description: S/MIME cryptographic signature ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] Mac OS X poll syscall returns prematurely
Ennis Massey added the comment: Fixed patch file, now in diff format -- keywords: +patch Added file: http://bugs.python.org/file44572/eintr_tester.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] Mac OS X poll syscall returns prematurely
Changes by Ennis Massey <ennisbarad...@gmail.com>: Removed file: http://bugs.python.org/file44570/eintr_tester.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] Mac OS X poll syscall returns prematurely
Ennis Massey added the comment: Patch exemplifying a fix for this in the test files -- Added file: http://bugs.python.org/file44570/eintr_tester.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28087] Mac OS X poll syscall returns prematurely
New submission from Ennis Massey: Upon calling the select.poll objects poll method with no file descriptors registered, it will return an empty list immediately, regardless of the timeout given. This is a problem in the Mac OS X kernels implementation of the poll syscall, but the test can be easily fixed by binding a throwaway socket to the poll objects, and then using the poll method as usual. Build details are attached -- components: Macintosh files: buildlog.log messages: 275887 nosy: MicroTransactionsMatterToo, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Mac OS X poll syscall returns prematurely type: compile error versions: Python 3.6 Added file: http://bugs.python.org/file44569/buildlog.log ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28087> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com