Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82169

Re: Question on lambdas

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <cmbecker69@gmx.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'beginner': 0.05; 'subject:Question': 0.07; 'received:gmx.net': 0.09; 'python': 0.11; 'creates': 0.14; 'finney': 0.16; 'from:addr:gmx.de': 0.16; 'function;': 0.16; 'message-id:@gmx.de': 0.16; 'statement.': 0.16; 'sugar': 0.16; 'syntactic': 0.16; 'wrote:': 0.18; '(not': 0.18; 'creating': 0.23; 'header:User-Agent:1': 0.23; 'header:In-Reply- To:1': 0.27; "i'm": 0.30; 'could': 0.34; 'programming,': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'new': 0.61; 'skip:\xe2 10': 0.65; '8bit%:43': 0.74; 'special': 0.74; 'received:192.168.0.100': 0.91
Date Tue, 09 Dec 2014 02:44:12 +0100
From Christoph Becker <cmbecker69@gmx.de>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Question on lambdas
References <m65d2m$3pe$1@ger.gmane.org> <mailman.16745.1418083098.18130.python-list@python.org>
In-Reply-To <mailman.16745.1418083098.18130.python-list@python.org>
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Provags-ID V03:K0:9z0kHS/h5d9gudV1xTRZfgGW/RgjhVVCNpVQV6YVgbNDAuQxtoS 2IycyYle1OiyJntxrRRoxxHiKReJVmqW5T98nrXMkbRw99y/u3NtJNuKvbQFOj/D0BNXbCx +X4SmVzSt2pRFRxznKBv96GsyDgwp0InEVNpP8wDq3E8lH69zLbrl48rrrySLE7JDwNPgyz htdoWDG4h/CtGd7c8fZcQ==
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16753.1418089457.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418089457 news.xs4all.nl 2834 [2001:888:2000:d::a6]:60534
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3042
X-Received-Body-CRC 921042151
Xref csiph.com comp.lang.python:82169

Show key headers only | View raw


Ben Finney wrote:

> It's best to remember that ‘lambda’ is syntactic sugar for creating a
> function; the things it creates are not special in any way, they are
> normal functions, not “lambdas”.

Could you please elaborate why ‘lambda’ does not create “lambdas”.  I'm
a Python beginner (not new to programming, though), and rather confused
about your statement.

-- 
Christoph M. Becker

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Question on lambdas Ben Finney <ben+python@benfinney.id.au> - 2014-12-09 10:58 +1100
  Re: Question on lambdas Christoph Becker <cmbecker69@gmx.de> - 2014-12-09 02:44 +0100
    Re: Question on lambdas Steven D'Aprano <steve@pearwood.info> - 2014-12-09 06:38 +0000
  Re: Question on lambdas Chris Angelico <rosuav@gmail.com> - 2014-12-09 12:53 +1100
  Re: Question on lambdas Terry Reedy <tjreedy@udel.edu> - 2014-12-08 21:09 -0500
  Re: Question on lambdas Ben Finney <ben+python@benfinney.id.au> - 2014-12-09 16:23 +1100
    Re: Question on lambdas "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-09 13:43 +0100
  Re: Question on lambdas Rustom Mody <rustompmody@gmail.com> - 2014-12-08 22:44 -0800

csiph-web