heapq: