Logged In: YES user_id=80475 * I don't think this should be added to the API. filter() is a builtin because it can be used with many datatypes as an input. Most container contructors have a list format that is suitable for use with filter. It is not unduly burdensome to write: newset=Set(filter(f, oldset)). The existing approach is also more flexible because the user can opt for a list comprehension, itertools.ifilter, itertools.ifilterfalse, or any other suitable expression. * If this ends up getting accepted, consider using itertools and a simpler, factored implementation: def filter(self, f): return Set(ifilter(f, self._data)) * Also, a documentation patch and news item would be needed. * I agree with docstring patch and will apply just that piece.
Logged In: YES user_id=13298 Who decides whether it's rejected or accepted? If it's going to be rejected I won't put work in it, but if there's a chance of accept I will meet to those demands...