Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.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.013 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'say,': 0.05; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; '~ethan~': 0.09; 'python': 0.11; 'bug': 0.12; 'filename:fname piece:signature': 0.16; 'lambda': 0.16; 'subject:def': 0.16; 'attach': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'van': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'ideal': 0.29; "doesn't": 0.30; 'something': 0.35; 'good.': 0.35; 'like,': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:173': 0.61; 'name': 0.63; 'more': 0.64; '"hey,': 0.84; 'subject:Alternative': 0.84; 'albert': 0.91; 'dozen': 0.91 Date: Wed, 11 Feb 2015 08:52:44 -0800 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Alternative to multi-line lambdas: Assign-anywhere def statements References: <54C3EAD1.2010501@stoneleaf.us> <54db5356$0$3915$e4fe514c@dreader34.news.xs4all.nl> In-Reply-To: <54db5356$0$3915$e4fe514c@dreader34.news.xs4all.nl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GjQ5n21SDfVFDXeJUxstpguWsNGB2H7qP" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423673573 news.xs4all.nl 2867 [2001:888:2000:d::a6]:51116 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85538 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GjQ5n21SDfVFDXeJUxstpguWsNGB2H7qP Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/11/2015 05:04 AM, Albert van der Horst wrote: > That's the reason why my ideal Python doesn't attach a name to a lambda= denotation: >=20 > x -> x**2 Hmmm. So now let's say you have a few dozen of these types of functions,= and you want to talk about the twenty-sixth one with a peer... are you going to say, "Hey, look at the twenty-sixth o= ne -- I think it has a bug." or something more like, "Hey, I think there's a bug in the hyp sin function." ? People use names, names are good. Python uses names, because names are good. -- ~Ethan~ --GjQ5n21SDfVFDXeJUxstpguWsNGB2H7qP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJU24jfAAoJENZ7D1rrH75NNl4QAMzYoieKlEEksKqCDb7edeI5 Z5jjj/q8trvoUX3MzJuiewYaIcQMuUed46PiqUH/jcEOQLzLIh/P96Pa0/CatGKr OKsELI4XDTrN+Cy+Xhcyc9Xex1XeZkazDUpqLAW2Jc/NywuVkyx3l/9RLEMmdwxf +qathsT/8mXmlSRT6YZCFjQVZIhKzTlUfoNy7CyGGiFvvgXmsZimU84es5DJGeJR m8PTLX3odQpVLK1DNkqc31PGU7QK/2CzeOLNJH02EbZZKJ4c9EycNoDtOHVvSHJm SgRNCljiFQCTYfUmtmK+aifVarLkdgvQ0QD94gy4Ik5cxcqhct49Z4C4vsEH61XG MEuUzKg2ZEBKyQXS1j0mO29T6Z+i4S491jUzMcMJzEX+Nl48bPYz39WyyJu5Od7c 6d3wGA5eczARcHUZK+USHlBcwZ/MqsdleGBiCvHCHiQoY5XPYHBIXhl8/V6U9IZ9 mN3hxLjqVqaw+30cYSBIvuK1J35jLhjSwkmEdGYhvI+ZgB/AxcVSQChIitUazSgf kmuN1gDhdbhgza7yAhvK6x9uZcAge7kwazEjnMuPPH0+ak0ZzvLxV3tDnEEPd9mS BQFjHGNYR7jWxzKvz9xVupoyOKNLhANpH9TNarW+C3fyegVQhenNK7NJKsGDsPDj +0u/FSuuVmXWBOwgGhg1 =HC5a -----END PGP SIGNATURE----- --GjQ5n21SDfVFDXeJUxstpguWsNGB2H7qP--