Raymond Hettinger <raymond.hettin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13742> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com