from Python 2.7 branch today
heapq library entended with cmp_lt= and index= optional arguments