Message 63490 - Python tracker
It may be too late to express my opinion, but why symmetry with map is so important? There are several reasons why sequence, predicate order is natural for filter and function, sequence is a natural order for map. 1. In list comprehensions predicate comes last: compare [f(x) for x in seq] and [x for x in seq if pred(x)]. 2. In English, map(f, sec) = "Map f over seq" while filter(pred, seq) = filter seq through pred.