theller at python.net
Thu Jun 13 10:39:51 EDT 2002
"Oleg Broytmann" <phd at phd.pp.ru> wrote in message news:mailman.1023975618.6474.python-list at python.org...
> I want to have new python builtin - filter2. It is exactly like filter,
> but it returns also a list of items that didn't pass the test.
IIRC, in Smalltalk they were named 'select' (like filter), and 'reject' (like your filter2).
IMO these are much better names then filter and filter2.
More information about the Python-list