summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/eventloop/minitornado/concurrent.py
blob: 519b23d5d27e716c1aedbc7c893376e8b03d52ff (plain)
1
2
3
4
5
6
7
8
9
10
11
"""pyzmq does not ship tornado's futures,
this just raises informative NotImplementedErrors to avoid having to change too much code.
"""

class NotImplementedFuture(object):
    def __init__(self, *args, **kwargs):
        raise NotImplementedError("pyzmq does not ship tornado's Futures, "
            "install tornado >= 3.0 for future support."
        )

Future = TracebackFuture = NotImplementedFuture