code: def _empty_queue(self):
          
  
          while True:
              try:
                  # Remove unused points from the queue.
                  self.queue.pop()
                  self.unused += 1  # add to the total number of unused points
                  self.nqueue -= 1
              except:
                  # If the queue is empty, we're done!
                  self.nqueue = 0
                  break
docs: Dump all live point proposals currently on the queue.