Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'operator': 0.03; 'cpython': 0.05; 'url:pipermail': 0.05; 'method.': 0.07; 'subject:PEP': 0.07; 'string': 0.09; 'deprecated': 0.09; 'formatting': 0.09; 'lawrence': 0.09; 'modulo': 0.09; 'release,': 0.09; 'python': 0.11; 'windows': 0.15; '14:26,': 0.16; 'caveats': 0.16; 'closed.': 0.16; 'deprecated,': 0.16; "object's": 0.16; 'str.format()': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; 'trying': 0.19; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'instead.': 0.24; 'skip': 0.24; 'mention': 0.26; 'suggested': 0.26; 'header:In- Reply-To:1': 0.27; 'url:bugs': 0.29; "i'm": 0.30; '3.x': 0.31; 'url:python': 0.33; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'message-id:@gmail.com': 0.38; 'thank': 0.38; 'to:addr:python- list': 0.38; 'issue': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'lost': 0.61; 'soon.': 0.71; '9.1': 0.84; 'freebsd': 0.84; 'url:python-dev': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=b0E8dnl3m5FkocOSlhpvbSzjXqw5HTWHgvwpfBhloBo=; b=ZgKhjD9lHKKG8U/f2NtDC864nPPraIOV+N1Xvdfrb+rvPAr+bWduur4pc0KBXHiYD/ DrrAjqNVlAGjRqtOgL/gvrmenwKybihsUOnYnjaOXiD1WFeSYjZSDdEDrk8Rkxy2XMuT IRRkhxC+TaJnHAjGWYv1qRS94to00cO+86SQH6F/sAnjJTBeFy0HPttPWihCmLylllKw d+DRH8nZpKVAj6QvOGBj4VhiwvYt2wh8bL6/RBV4xnCtF9wc5C5V0Ho/bzgn43/1UkDq lNHiyyBhOTNKtlnBATYKbvutp34KCw4VEFBU6/++wGJyi3nMvLnNOgxbRiLx68RMURgO QG2w== X-Received: by 10.50.114.104 with SMTP id jf8mr2230223igb.77.1369166037303; Tue, 21 May 2013 12:53:57 -0700 (PDT) Date: Tue, 21 May 2013 14:53:54 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: PEP 378: Format Specifier for Thousands Separator References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369166040 news.xs4all.nl 15935 [2001:888:2000:d::a6]:55558 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45686 On 2013.05.21 14:26, Mark Lawrence wrote: > On 21/05/2013 20:13, Skip Montanaro wrote: >>> Thank you, but let me rephrase it. I'm already using str.format() but I'd like to use '%' (BINARY_MODULO) operator instead. >> >> That's unlikely to change. If not deprecated already string >> interpolation using the modulo operator has lost favor to the string >> object's format method. >> > > Please stop perpetuating this myth, see > http://mail.python.org/pipermail/python-dev/2012-February/116789.html > and http://bugs.python.org/issue14123 > What myth? People should indeed be using .format(), but no one said % formatting was going away soon. Also, the suggested change to the docs wasn't made and the issue is closed. The current docs do not say that % formatting isn't going to be deprecated, but it does mention its caveats and suggests .format(). If you are trying to say that % formatting will never ever go away, then you are wrong. It is highly unlikely to go away in a 3.x release, but /may/ get phased out in Python 4.0. -- CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1