[issue2274] heapq API

2008-03-13 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: See r61369. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue2274] heapq API

2008-03-11 Thread Raymond Hettinger
Changes by Raymond Hettinger <[EMAIL PROTECTED]>: -- versions: +Python 3.0 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list ma

[issue2274] heapq API

2008-03-11 Thread Raymond Hettinger
New submission from Raymond Hettinger <[EMAIL PROTECTED]>: The heapreplace() function has an irritating API. Since the replacement is unconditional, it usually obligates the caller to examine the top of the heap to see if it is smaller or larger than the candidate replacement item. Typical call