Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Repeating my comment on the Github PR, "I'm persuaded by your idea that min(), 
max(), nsmallest(), nlargest(), sorted(), and itertools.groupby() should 
ideally have the same API for key functions. Syncing of those APIs would be a 
minor improvement. As Serhiy pointed out, this does complicate the type 
signature a bit, but that is of small concern giving that the other four 
functions listed have already gone down this path."

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34149>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to