Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; '"if': 0.09; '[x]': 0.16; 'fluent': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'python".': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'roy': 0.16; 'simpson': 0.16; 'subject:Remove': 0.16; 'subject:python.': 0.16; 'torn': 0.16; 'wrote:': 0.18; 'written': 0.21; 'header:User- Agent:1': 0.23; 'second': 0.26; 'read,': 0.26; 'header:In-Reply- To:1': 0.27; "i'm": 0.30; 'easier': 0.31; 'subject:from': 0.34; 'really': 0.36; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'received:211': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'full': 0.61; "you're": 0.61; 'content-disposition:inline': 0.62; 'smith': 0.68; 'sound': 0.68; 'article': 0.77; 'as:': 0.81; 'william': 0.81; '"yes,': 0.84; 'idiot,': 0.84; 'otten': 0.84 Date: Mon, 24 Feb 2014 12:19:02 +1100 From: Cameron Simpson To: python-list@python.org Subject: Re: Remove comma from tuples in python. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=Wu4Sb7vv c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=U9ly62hG2EAA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=nYUpOqzRdpsA:10 a=VUfPOBp7AAAA:8 a=8AHkEIZyAAAA:8 a=KUTDn18Q8em2xMHOm40A:9 a=CjuIK1q_8ugA:10 a=5hK03km2n30A:10 a=VhVvL8HfBcoA:10 a=5KVauyKsRKMA:10 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393204758 news.xs4all.nl 2832 [2001:888:2000:d::a6]:46138 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66956 On 21Feb2014 09:32, Roy Smith wrote: > In article , > Peter Otten <__peter__@web.de> wrote: > > [x*x for (x,) in lst] > > > > [paraphrasing...] can be better written as: > > > > [x*x for [x] in items] > > I'm torn between, "Yes, the second form is distinctly easier to read" > and, "If you think the second form is easier to read, you're admitting > you're not really fluent in Python". +1 QOTW -- Cameron Simpson It is a tale told by an idiot, full of sound and fury, signifying nothing. - William Shakespeare