code: def PushItem(self, item, block=True):
      
      try:
        self._queue.put(item, block=block)
      except Queue.Full as exception:
        raise errors.QueueFull(exception)
docs: Pushes an item onto the queue.
  
      Args:
        item (object): item to add.
        block (Optional[bool]): True to block the process when the queue is full.
  
      Raises:
        QueueFull: if the item could not be pushed the queue because it's full.