This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dabeaz
Recipients dabeaz, neologix, xiang.zhang
Date 2016-07-01.19:38:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467401932.94.0.683697261018.issue27436@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see any possible way that you would ever get events = EVENT_READ | EVENT_WRITE if the flag is a single value (e.g., KQ_FILTER_READ) and the flag itself is not a bitmask.  Only one of those == tests will ever be True.  There is no need to use |=.   Unless I'm missing something.
History
Date User Action Args
2016-07-01 19:38:52dabeazsetrecipients: + dabeaz, neologix, xiang.zhang
2016-07-01 19:38:52dabeazsetmessageid: <1467401932.94.0.683697261018.issue27436@psf.upfronthosting.co.za>
2016-07-01 19:38:52dabeazlinkissue27436 messages
2016-07-01 19:38:52dabeazcreate