Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!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.058 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'debug': 0.03; 'foo': 0.09; 'subject:parameters': 0.09; 'am,': 0.14; 'debugging': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; '"hey': 0.16; 'angelico': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guys,': 0.16; 'is"': 0.16; 'it".': 0.16; 'subject:function': 0.16; 'seconds': 0.16; 'mon,': 0.17; 'header:In-Reply-To:1': 0.21; 'assume': 0.23; 'module,': 0.23; "i'm": 0.27; 'message-id:@mail.gmail.com': 0.28; 'problem': 0.28; 'received:209.85.214': 0.28; 'url:article': 0.29; 'unable': 0.30; 'article.': 0.30; 'boss,': 0.30; 'solved': 0.30; "can't": 0.32; 'agree': 0.32; 'to:addr:python-list': 0.33; 'post': 0.33; 'with.': 0.33; 'list': 0.33; "isn't": 0.33; 'page.': 0.33; "i'll": 0.34; 'chris': 0.34; 'quite': 0.36; 'joe': 0.36; 'difference': 0.37; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'mailing': 0.38; 'but': 0.38; 'linked': 0.38; 'media,': 0.38; 'subject:: ': 0.38; 'explain': 0.39; 'received:209': 0.39; 'list,': 0.39; 'to:addr:python.org': 0.39; 'worth': 0.60; 'phone': 0.63; 'url:s': 0.63; 'fan': 0.66; 'billion': 0.67; 'crash': 0.67; 'boss': 0.73; 'fortune': 0.73; 'ring': 0.73; 'thousand': 0.74; 'million': 0.77; 'demo': 0.77; 'ship': 0.78; '30,': 0.84; '11:31': 0.84; 'bull': 0.84; 'session,': 0.84; 'url:print': 0.84; 'standards.': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=oxgc7o4JxaOCu2PLIIo8DcWK4qhMVRwdjEncPtgWfeE=; b=VPImIrRaxi4qaHW7vxpP0baVNOa2VkgjfJA4eN6TRrNV5KGx7leUHDuPkK8GFt72nD ynoMF1AQr83Ct+Ld2Hy02+tHNzqAtnpA6XRkyLVOym73OPWnfse1bBDS6Rh+IDkmNcKT PhuiDi9ZnRU4mzNyb4z42Ft9KIYZo0CaORHOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=YLUA8iU5Gjips55WvfGmpOvwvOwuK7yL8MKsmGM4BSQ9RmIetDLICDEYC1aL6ENuHi 8rZTbrEI0qP8S8gNNfE0W1qfzsHbLbY5fEo5gOJDH9KdESAWiMeLmxsQjE1bC2THGpnn F1E7/b/cufo4oAbjbThLbz+/SF8KfVCZsRPGk= MIME-Version: 1.0 In-Reply-To: <87pqn17z4a.fsf@benfinney.id.au> References: <4de2dab8$0$29996$c3e8da3$5496439d@news.astraweb.com> <87pqn17z4a.fsf@benfinney.id.au> Date: Mon, 30 May 2011 11:56:27 +1000 Subject: Re: scope of function parameters From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 26 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306720590 news.xs4all.nl 49048 [::ffff:82.94.164.166]:56285 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6608 On Mon, May 30, 2011 at 11:31 AM, Ben Finney w= rote: > =A0 I agree with the gist of that. My take on this is: When I'm talking to my boss, I always assume that the phone will ring ten seconds into my explanation. Ten seconds is enough for "Dad, I'm OK; the bull is dead", it's enough for "I've solved Problem X, we can move on now"; it's enough for "Foo is crashing, can't ship till I debug it". If fortune is smiling on me and the phone isn't ringing, I can explain that Problem X was the reason Joe was unable to demo his new module, or that the crash in Foo is something that I know I'll be able to pin down in a one-day debugging session, but even if I don't, my boss knows enough to keep going with. Of course, there's a significant difference between a mailing list post and a detailed and well copyedited article. Quite frequently I'll ramble on list, in a way quite inappropriate to a publication that would be linked to as a "hey guys, here's how it is" page. Different media, different standards. Chris Angelico "Forty thousand million billion THEGS quotes? That must be worth a fortune!= " -- definitely a fan of THEGS --