zeromq/pyzmq — pull request #207 by minrk (2012-05-23 21:37:16+00:00)
Title: more conservative gevent event watching

Principal changes:

* `__state_changed()` is triggered after all send/recv/get(EVENTS) calls
- should not triggered by intermediate send/recv inside multiparts.
* watch for WRITE events as well, though only when waiting to send.
* add timeout in `_wait_send`, to workaround apparent libzmq bug that never
notifies of initial send events. (comes up most often on slow VMs).
* removes Cython implementation of green Socket.

closes #199