def put(self, item, timeout=None):
        try:
            self.put_nowait(item)
        except QueueFull:
            future = Future()
            self._putters.append((item, future))
            _set_timeout(future, timeout)
            return future
        else:
            return gen._null_future
Put an item into the queue, perhaps waiting until there is room.
dataset/ETHPy150Open tornadoweb/tornado/tornado/queues.py/Queue.put