[Python-checkins] r61569 - in sandbox/trunk/2to3/lib2to3: fixes/fix_filter.py tests/test_fixers.py

Neal Norwitz nnorwitz at gmail.com
Wed Mar 19 19:12:38 CET 2008


On Wed, Mar 19, 2008 at 1:06 PM, Raymond Hettinger <python at rcn.com> wrote:
> > Probably because filter will return an iterator,
>  > so it would have to be wrapped in list:
>  > list(filter(bool, seq)).
>
>  Note that filter *will* continue to support a None argument in 3.0 (only map() was changed).

That's what I originally thought too.  See
http://mail.python.org/pipermail/python-dev/2008-February/077197.html

n


More information about the Python-checkins mailing list