Charles-François Natali added the comment: The test assumes that the input flags (EV_ADD, EV_ENABLE...) will be returned in the output events. It's apparently not the case on OpenBSD and NetBSD (and probably on OS-X neither, because this check is disabled on this platform), and I can't see anything in the kqueue man pages hinting to this behavior (only specific flags will be set on output, like EV_ERROR). Knowing which flag was specified is not really useful actually.
The patch attached just removes this check (we keep checking the file descriptors and filter, of course). ---------- keywords: +needs review, patch Added file: http://bugs.python.org/file29296/kqueue_flags.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com