On Oct 18, 7:01 am, [EMAIL PROTECTED] wrote: > To improve name coherence I think this method of the heapq module: > heapq.heapreplace(heap, item) > > can grow an alias in Python 2.6.1/2.7 and 3.0/3.1: > heapq.heappoppush(heap, item) > > So later the heapreplace() name can be deprecated.
Too late for 2.6 and possibly too late and too disruptive for 3.0 (which needs to minimize transitions from 2.6). Raymond -- http://mail.python.org/mailman/listinfo/python-list