[issue13742] Add a key parameter (like sorted) to heapq.merge

Raymond Hettinger report at bugs.python.org
Mon Jan 9 20:33:36 CET 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Simon, please keep the original version fast by creating two code paths:

   if key is None:
      original_code
   else:
      new_code using the key_function

----------
priority: normal -> low

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13742>
_______________________________________


More information about the Python-bugs-list mailing list