[issue2186] map and filter shouldn't support None as first argument (in Py3k only)
Raymond Hettinger
report at bugs.python.org
Mon Feb 25 20:08:29 CET 2008
Raymond Hettinger added the comment:
Will think about ifilter() and ifilterfalse() for a day or two. The
None argument handles the common use-case and there may be a good case
for keeping it. If I do decide to drop it, will put in my own patch
that optimized for the case with the filter function is bool().
+1 On removing the None argument from map() and imap(). It was
hold-over from the days before zip().
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2186>
__________________________________
More information about the Python-bugs-list
mailing list