Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Stephen Hansen Newsgroups: comp.lang.python Subject: Re: Most probably a stupid question, but I still want to ask Date: Sun, 10 Apr 2016 17:32:43 -0700 Lines: 22 Message-ID: References: <1460331024.3440141.574603049.214AD5E6@webmail.messagingengine.com> <1460334763.3451761.574636321.6384BC79@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de SEaQZkPJVBOATYZyE9i/xQ5xrFsexVkqbybQD7SfFJYw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:question': 0.08; 'received:internal': 0.09; 'subject:still': 0.09; 'python': 0.10; 'weird': 0.15; 'least.': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'parentheses': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'received:psf.io': 0.16; 'surprising': 0.16; 'wrote:': 0.16; 'together.': 0.20; 'do.': 0.22; 'saying': 0.22; 'stephen': 0.22; 'bit': 0.23; 'header :In-Reply-To:1': 0.24; "i've": 0.25; 'example': 0.26; 'least': 0.27; 'data,': 0.27; 'looks': 0.29; 'code': 0.30; 'getting': 0.33; 'point': 0.33; 'surprised': 0.33; 'besides': 0.35; 'something': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'say': 0.37; 'things': 0.38; 'doing': 0.38; 'received:66': 0.38; "didn't": 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'results': 0.66; 'repeat': 0.67; 'subject:want': 0.93 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=ixokai.io; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=N09jcknBZEQMnQb5WRJA7GSBG7Y=; b=MJzNwd mTjrcnKWf5q9dOHD9NCGmYsYhpNfkyaNkhXf5cDkfB228ACjDMKy5OHrDnxdtKfk og8Tf33p6cJEmLrYIe8EFjez/yypgF67287LSXyqEiClJ42h+4ncY+0Deh2qaTS+ R7zgtedeRWKYanPdv1NYQ7R4xz3TGgVzFPLQM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=N09jcknBZEQMnQb 5WRJA7GSBG7Y=; b=XP/QXasA/CV5SlTJ/L2FQWp3Pg901UIYr03M7Eqd7DcTbx1 QrzdhuWaHwp6c4cjGofdHCKRWQjlddDyulzgr0UT50h1wRdC6/FsoMQnHOyl5rg9 BgtU2p/mBp2aEflXgp9NvKI/ZGGn+2hHrZQFfST03OZh0leemKDq9PcuLYVM= X-Sasl-Enc: 132PYTUm9M6yVqnQTZCmiUcmvmUyCJuXCwO8LdBi3fuu 1460334763 X-Mailer: MessagingEngine.com Webmail Interface - ajax-eadf0bcf In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1460334763.3451761.574636321.6384BC79@webmail.messagingengine.com> X-Mailman-Original-References: <1460331024.3440141.574603049.214AD5E6@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:106811 On Sun, Apr 10, 2016, at 05:17 PM, Fillmore wrote: > On 04/10/2016 07:30 PM, Stephen Hansen wrote: > > > There's nothing inconsistent or surprising going on besides you doing > > something vaguely weird and not really expressing what you find > > surprising. > > well, I was getting some surprising results for some of my data, so I can > guarantee that I was surprised! The point is you are not saying *what* is surprising. Nothing in your example code looks the least bit surprising to me, but I've been using Python for ages. If you're surprised by something, say *what* surprises you at the very least. But to repeat what I said that you didn't quote: the thing you need to understand is that parentheses do not create tuples, commas do. Parentheses only group things together. --Stephen m e @ i x o k a i . i o