Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'guido': 0.04; 'subject:Python': 0.05; 'python': 0.08; 'parks': 0.16; 'travis': 0.16; 'cc:addr:python-list': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'any,': 0.18; 'interesting.': 0.18; 'cc:no real name:2**0': 0.20; 'cheers,': 0.20; 'programming': 0.21; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'language.': 0.28; 'message- id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'nov': 0.29; 'pm,': 0.29; 'received:mail-bw0-f46.google.com': 0.30; 'functional': 0.31; 'quite': 0.32; 'received:209.85.214': 0.32; 'actually': 0.33; 'languages': 0.35; 'core': 0.36; 'skip:" 10': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.40; '2011': 0.61; 'back': 0.62; 'subject:Reference': 0.84; 'imperative': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=fzlOU6QDP5g+KAo4M1f+vHOcwR72VBR/syJAJODJajU=; b=BwaqLBhmF1xN+3G8ljly6AndiGGo0QnsmNze2g1sCd7xyiyJNySZO6dTAxQEP4HAjR P5oIp2GkdNAwKWue44vjkzjqVKQ1oDeDOQFjWqbzExjfurQbXtQ4FYL8KCZhkXPESl6x 3edtUoDBb7ecARvvWYRsKEwN/toYJO5RUr4bk= MIME-Version: 1.0 In-Reply-To: <861e1820-e70b-4f17-b668-53c4052974f5@w3g2000vbw.googlegroups.com> References: <79379487-0081-4067-92ed-c6717652e1ff@y7g2000vbe.googlegroups.com> <4eb0af60-26b3-45d5-8aff-566505003d6a@m10g2000vbc.googlegroups.com> <4ed2cddc$0$29988$c3e8da3$5496439d@news.astraweb.com> <4ed40a2e$0$29988$c3e8da3$5496439d@news.astraweb.com> <861e1820-e70b-4f17-b668-53c4052974f5@w3g2000vbw.googlegroups.com> From: Ian Kelly Date: Mon, 28 Nov 2011 21:56:19 -0700 Subject: Re: Using the Python Interpreter as a Reference To: Travis Parks Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322542612 news.xs4all.nl 6961 [2001:888:2000:d::a6]:49335 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16376 On Mon, Nov 28, 2011 at 7:42 PM, Travis Parks wrote: > I find that interesting. I also find it interesting that the common > functional methods (all, any, map, filter) are basically built into > Python core language. That is unusual for most imperative programming > languages early-on. all and any are actually quite recent additions. Guido added them to placate users of "reduce(lambda x, y: x and y, foo)" back when the plan was to remove reduce in Python 3. Cheers, Ian