Mark Dickinson added the comment:

[Nick]
> Regarding the key parameter name, I believe this is closer to
> itertools.groupby ...

Isn't this mostly about the return type?  `pred` is an indication that a 
boolean is being returned (or that the return value will be interpreted in a 
boolean context), while `key` is used for more general transformations.  In 
that sense, `pred` makes more sense here.

----------
nosy: +mark.dickinson

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

Reply via email to