This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients belopolsky, benjamin.peterson, gvanrossum, rhettinger
Date 2008-02-26.01:56:34
SpamBayes Score 0.1754161
Marked as misclassified No
Message-id <1203990995.48.0.818155715259.issue2186@psf.upfronthosting.co.za>
In-reply-to
Content
What do you guys think about just making the predicate argument optional? 

   filter([-2,0,2]) --> -2, 2
   filter(pred, iterable)

One arg is the first case and two args is the second case.
History
Date User Action Args
2008-02-26 01:56:35rhettingersetspambayes_score: 0.175416 -> 0.1754161
recipients: + rhettinger, gvanrossum, belopolsky, benjamin.peterson
2008-02-26 01:56:35rhettingersetspambayes_score: 0.175416 -> 0.175416
messageid: <1203990995.48.0.818155715259.issue2186@psf.upfronthosting.co.za>
2008-02-26 01:56:34rhettingerlinkissue2186 messages
2008-02-26 01:56:34rhettingercreate