facebook/tornado — pull request #388 by koblas (2011-10-25 21:58:39+00:00)
Title: Correctly handle READ/WRITE/ERROR flags in the ioloop for twisted

The base code is "or"ing in the READ/WRITE bits to check to see if they're set - so they always are. Also, handle the error cases in the epoll flags.