python at rcn.com
Sun Oct 19 05:43:24 CEST 2008
On Oct 18, 7:01 am, bearophileH... at lycos.com 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).
More information about the Python-list