ipython/ipython — pull request #1030 by minrk (2011-11-22 23:45:20+00:00)
Title: use pyzmq tools where appropriate

ZMQStream is the right object to use for event-driven handling of messages, but instead we had a duplication of half of it in KernelManager.

This removes most of the duplicate code, in favor of using ZMQStream.

also use the pyzmq install() function for using the pyzmq eventloop with tornado, instead of copying its contents into notebookapp.