Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

import ioloop from zmq, not tornado

in sockjs-tornado

tornado >= 2.5 makes a minor change in the IOLoop API,
so tornado.ioloop.PeriodicCallback >= 2.5 will not work with
IOLoop from pyzmq < 3.2.
  • Loading branch information...
commit c49bce179f210f10b01bfd3128d1a7d270060379 1 parent 62faaaa
@minrk authored
View
3  IPython/external/sockjs/tornado/router.py
@@ -6,7 +6,8 @@
SockJS protocol router implementation.
"""
-from tornado import ioloop, version_info
+from tornado import version_info
+from zmq.eventloop import ioloop
from IPython.external.sockjs.tornado import transports, session, sessioncontainer, static, stats, proto
View
2  IPython/external/sockjs/tornado/stats.py
@@ -1,6 +1,6 @@
from collections import deque
-from tornado import ioloop
+from zmq.eventloop import ioloop
class MovingAverage(object):
Please sign in to comment.
Something went wrong with that request. Please try again.