Message 102595 - Python tracker (original) (raw)

It seems that the "Lib/lib2to3/fixes/fix_filter.py" should have fixed all the "filter" problem in py3k, by adding a "list()" call to "filter()". It's werid this one still exists in standar library.

Also I found other two problems with "filter" in standar library. They make condition tests on filter object, although the result is correct, but I think it's not proper.

So I make a patch to fix these three problems.