Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40317

Re: [Python-ideas] string.format() default variable assignment

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 <rosuav@gmail.com>
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 <CAK-Ep0o=gtsCjhhAzYDd_NfaVJY-LLzsC2YQxj2f3CL8m62zmA@mail.gmail.com> <mailman.2741.1362157649.2939.python-list@python.org> <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 <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2767.1362196498.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sat, Mar 2, 2013 at 12:43 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [Python-ideas] string.format() default variable assignment Chris Angelico <rosuav@gmail.com> - 2013-03-02 04:07 +1100
  Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-02 01:43 +0000
    Re: [Python-ideas] string.format() default variable assignment Chris Angelico <rosuav@gmail.com> - 2013-03-02 14:54 +1100
    Re: [Python-ideas] string.format() default variable assignment Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-03-02 01:09 -0500
    Re: [Python-ideas] string.format() default variable assignment Chris Angelico <rosuav@gmail.com> - 2013-03-02 17:54 +1100
    Re: [Python-ideas] string.format() default variable assignment James Griffin <jmz.griffin@kode5.net> - 2013-03-02 08:06 +0000
    Re: [Python-ideas] string.format() default variable assignment Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-03-02 09:53 -0500
      Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 00:27 +0000
        Re: [Python-ideas] string.format() default variable assignment Roy Smith <roy@panix.com> - 2013-03-02 19:42 -0500
          Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 03:19 +0000
        Re: [Python-ideas] string.format() default variable assignment David Robinow <drobinow@gmail.com> - 2013-03-02 21:11 -0500
          Re: [Python-ideas] string.format() default variable assignment Roy Smith <roy@panix.com> - 2013-03-02 21:15 -0500
            Re: [Python-ideas] string.format() default variable assignment David Robinow <drobinow@gmail.com> - 2013-03-02 22:01 -0500
            Re: [Python-ideas] string.format() default variable assignment Chris Angelico <rosuav@gmail.com> - 2013-03-03 14:06 +1100
            Re: [Python-ideas] string.format() default variable assignment David Robinow <drobinow@gmail.com> - 2013-03-02 22:18 -0500
            Re: [Python-ideas] string.format() default variable assignment Chris Angelico <rosuav@gmail.com> - 2013-03-03 14:46 +1100
          Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 03:21 +0000
            Re: [Python-ideas] string.format() default variable assignment Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-03-02 23:00 -0500
              Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 10:33 +0000
            Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 09:51 +0000
            Re: [Python-ideas] string.format() default variable assignment David Robinow <drobinow@gmail.com> - 2013-03-04 11:09 -0500
              Re: [Python-ideas] string.format() default variable assignment Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-05 02:42 +0000
                Re: [Python-ideas] string.format() default variable assignment Chris Angelico <rosuav@gmail.com> - 2013-03-05 13:54 +1100
                Re: [Python-ideas] string.format() default variable assignment Gene Heskett <gheskett@wdtv.com> - 2013-03-04 23:01 -0500
                Re: [Python-ideas] string.format() default variable assignment James Griffin <jmz@kontrol.kode5.net> - 2013-03-05 08:16 +0000
                Re: [Python-ideas] string.format() default variable assignment Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-05 11:35 +0000
            Re: [Python-ideas] string.format() default variable assignment David Robinow <drobinow@gmail.com> - 2013-03-04 11:15 -0500
            Re: [Python-ideas] string.format() default variable assignment Dave Angel <davea@davea.name> - 2013-03-04 13:31 -0500
    Re: [Python-ideas] string.format() default variable assignment Tim Golden <mail@timgolden.me.uk> - 2013-03-02 15:01 +0000
    Re: [Python-ideas] string.format() default variable assignment Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-03-02 12:31 -0500
    good mail readers  [was Re: [Python-ideas] string.format() default variable assignment] Ethan Furman <ethan@stoneleaf.us> - 2013-03-02 11:59 -0800

csiph-web