[Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)
Neal Norwitz
nnorwitz at gmail.com
Sun Feb 24 02:59:41 CET 2008
More information about the Python-Dev mailing list
Sun Feb 24 02:59:41 CET 2008
- Previous message: [Python-Dev] future_builtins
- Next message: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <guido at python.org> wrote: > > I do think map() and filter() should issue a warning under -3 when the > first arg is None. (Or does 2to3 detect this now?) What's wrong with filter(None, seq)? That currently works in 3k: >>> filter(None, range(5)) <itertools.ifilter object at 0x2b5be60da450> >>> [x for x in _] [1, 2, 3, 4] (Side note, shouldn't we change the names for filter/map?) n
- Previous message: [Python-Dev] future_builtins
- Next message: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list