pyzmq poller does not work if i register it with both POLLIN and POLLOUT. The if condition could not catch the POLLIN event
import zmq import r