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


Groups > comp.lang.python > #58253

Re: Python wart

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'operator': 0.03; 'url:pipermail': 0.05; 'subject:Python': 0.06; 'explicit': 0.07; 'formatting': 0.09; 'lawrence': 0.09; 'modulo': 0.09; 'distinct': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'sends': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; 'depth': 0.31; 'go.': 0.31; 'styles': 0.31; 'anyone': 0.31; 'url:python': 0.33; 'fri,': 0.33; 'style': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'url:org': 0.36; 'behind': 0.37; 'nov': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'here': 0.66; 'lose': 0.68; 'url:python-dev': 0.84; 'favour': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oI2nuuJxwOOCNrOe8R3rneNpQarfg6f1egha2ckMma8=; b=w9J49HINTKLccIlRKFG+TmHwLx2GJWale+bdWlN0o/tYoo8ZetVt1oh2D67guNA1G1 PyJ3pM5fFzXCPrHBP88pVUFAdPhyc+YO9Hr9aeg7sEj0NGhnrjTH/0rGqRk/ofXAAhhU SmIpOrMdgZMtMhP817z8o3VfyCQ5Dl9xdvo9gECxzztnCkpfjx3YUgFobWfog1EIDjjs DfvR8stidUX0nnO5GxAr5EloWNU9S2LFORwkXnigU7ZxCXuV1vZnEE7YuBb6e40N53yB nsvymrsYv+NU4vlg6vCD6F5p2yY+OeqvhKjCOif2n1zeK/sDbCOz4x4Q5WxvoAGDT2bS T5+g==
MIME-Version 1.0
X-Received by 10.68.96.130 with SMTP id ds2mr2294906pbb.99.1383298973302; Fri, 01 Nov 2013 02:42:53 -0700 (PDT)
In-Reply-To <l4vsfr$c0j$1@ger.gmane.org>
References <l4v12j$98o$1@ger.gmane.org> <CAPTjJmocz_Kq-TxFzOBRCmq_xxVWdrYiz8LapRSr-r3LXpuAKw@mail.gmail.com> <mailman.1898.1383270899.18130.python-list@python.org> <ae5c7f51-25fa-4c74-b5c6-6832f93a6362@googlegroups.com> <l4vr1f$mb0$1@ger.gmane.org> <CAPTjJmpUt7NF1dmVtjpWMaOZzHZasqUJw6SAtcufcm-zcRnpxQ@mail.gmail.com> <l4vsfr$c0j$1@ger.gmane.org>
Date Fri, 1 Nov 2013 20:42:53 +1100
Subject Re: Python wart
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1916.1383298976.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1383298976 news.xs4all.nl 15979 [2001:888:2000:d::a6]:56128
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:58253

Show key headers only | View raw


On Fri, Nov 1, 2013 at 8:32 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> I wondered if the idea of deprecating printf style formatting might also
> come up again.  It was discussed in some depth here
> https://mail.python.org/pipermail/python-dev/2012-February/116789.html

I don't see any reason for it to go. Anyone who wants to use .format()
is welcome to; anyone who likes %s is welcome to use that. They have
sufficiently distinct styles that they don't really come into
conflict. Now, if someone wants to deprecate the "str modulo anything"
operator in favour of an explicit sprintf() function (optionally with
printf() that sends straight through to print()), that I might get
behind - but I don't see any reason to lose the printf-style
formatting codes.

ChrisA

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


Thread

Re: Python wart Chris Angelico <rosuav@gmail.com> - 2013-11-01 12:54 +1100
  Re: Python wart Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-11-01 00:11 -0700
    Re: Python wart Chris Angelico <rosuav@gmail.com> - 2013-11-01 18:59 +1100
    Re: Python wart Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-01 09:08 +0000
    Re: Python wart Chris Angelico <rosuav@gmail.com> - 2013-11-01 20:17 +1100
    Re: Python wart Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-01 09:32 +0000
    Re: Python wart Chris Angelico <rosuav@gmail.com> - 2013-11-01 20:42 +1100
  Re: Python wart Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-11-01 14:47 -0700
    Re: Python wart Chris Angelico <rosuav@gmail.com> - 2013-11-02 10:13 +1100
  Re: Python wart Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-11-01 18:11 -0700
    Re: Python wart Chris Angelico <rosuav@gmail.com> - 2013-11-02 12:18 +1100
  Re: Python wart Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-11-01 18:26 -0700

csiph-web