Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'subject:skip:s 10': 0.05; 'correct,': 0.09; 'replied': 0.09; 'thread': 0.11; 'sat,': 0.15; 'chris,': 0.16; 'command,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'python-list,': 0.16; 'scope.': 0.16; 'subject:default': 0.16; 'subject:ideas': 0.16; 'subject:variable': 0.16; 'wrote:': 0.17; 'else,': 0.17; 'pointed': 0.17; 'typing': 0.17; 'variables': 0.17; '(or': 0.18; 'subject:] ': 0.19; 'facility': 0.22; "i've": 0.23; 'header:In- Reply-To:1': 0.25; 'setting': 0.26; 'in.': 0.27; 'message- id:@mail.gmail.com': 0.27; 'chris': 0.28; "d'aprano": 0.29; 'steven': 0.29; 'up.': 0.31; 'asking': 0.32; 'switch': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'list': 0.35; 'so,': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'list.': 0.35; 'but': 0.36; 'client': 0.36; 'should': 0.36; 'does': 0.37; 'moment': 0.37; 'rather': 0.37; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'think': 0.40; 'your': 0.60; 'address': 0.60; '2013': 0.84; 'whereby': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=MB4X4yCIfz7sLFFzLov7ZtrSvRWYLH5hjT0ta9dIJdE=; b=CNA6+iURc1HE6KoVzp0W1s5YSNKCAJNaw0Ke0loc++gIwbWOzYQYFwNT4uRNuzqb9V Pv4hp5c2X9xdfrWPAMdEUDQJ2GNu0UwgXA6V8LErNVSUUw65rWauizquLZokHOV4uksK 9+8EZ2uxSqOroJkH1PHBcULeAzRfQY6B2pZOiyIblbf62N8rKwpeT2VUJQb2oQQwL9N8 Oaewkcs2AEQFNsKea8vspC84yhQmdb8QWxkFcvZxigCRR9FR4X8tPydfO4LPxKGY3I2x J+Rx8d1D6z+lX/UQ8P2gvKwAOb4U8ryUG1vR3bIWDWHyW9UrQgkz5jl2Lf4ZoMkUkygD CUgA== MIME-Version: 1.0 X-Received: by 10.58.253.161 with SMTP id ab1mr4991740ved.55.1362196489847; Fri, 01 Mar 2013 19:54:49 -0800 (PST) In-Reply-To: <51315936$0$30001$c3e8da3$5496439d@news.astraweb.com> References: <51315936$0$30001$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 2 Mar 2013 14:54:49 +1100 Subject: Re: [Python-ideas] string.format() default variable assignment From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362196498 news.xs4all.nl 6862 [2001:888:2000:d::a6]:35118 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40317 On Sat, Mar 2, 2013 at 12:43 PM, Steven D'Aprano wrote: > On Sat, 02 Mar 2013 04:07:19 +1100, Chris Angelico replied to a thread of > Python-ideas: > >> You're asking for a facility whereby variables magically get pulled from >> the caller's scope. > > As interesting as that is, I think you sent it to the wrong list :) Yes, as was pointed out to me privately. The message had the "feel" of something that belonged on python-list, and I never for a moment thought that it was an -ideas thread... > Again. > > O_o > > > No offence Chris, but you're the only person I know who *regularly* > replies to the wrong list. Does your mail client not have a "Reply to > List" command, or "Reply All"? If so, then you should use it rather than > manually typing the (wrong) list address in. Correct, Gmail doesn't. I should switch to Thunderbird (or something else, but I've heard a good many recommendations for Tbird) but have yet to get around to setting it up. ChrisA