1b2732e9dSimarom"""pyzmq does not ship tornado's futures,
2b2732e9dSimaromthis just raises informative NotImplementedErrors to avoid having to change too much code.
3b2732e9dSimarom"""
4b2732e9dSimarom
5b2732e9dSimaromclass NotImplementedFuture(object):
6b2732e9dSimarom    def __init__(self, *args, **kwargs):
7b2732e9dSimarom        raise NotImplementedError("pyzmq does not ship tornado's Futures, "
8b2732e9dSimarom            "install tornado >= 3.0 for future support."
9b2732e9dSimarom        )
10b2732e9dSimarom
11b2732e9dSimaromFuture = TracebackFuture = NotImplementedFuture
12