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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:pipermail': 0.05; 'deprecated': 0.07; 'dev': 0.07; 'formatting': 0.07; 'python': 0.09; 'lawrence': 0.09; 'subject:method': 0.09; 'subject:string': 0.09; 'distinction': 0.16; 'folks,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'removal,': 0.16; 'subject:raw': 0.16; 'troll': 0.16; 'wrote:': 0.17; '3.x': 0.22; 'originally': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'core': 0.27; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.29; 'fri,': 0.30; 'thursday,': 0.30; 'url:python': 0.32; 'johnson': 0.32; 'says': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'there,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'it!': 0.64; 'differences': 0.65; 'percent': 0.65; 'future,': 0.72; '2013': 0.84; 'url:python-dev': 0.84; 'viable': 0.84; 'glad': 0.86; 'asap!': 0.91; 'rick': 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=KiPqRPym11IFwVRA+t80UbtmHas8m9ffHfIToPomxtQ=; b=aJfxKVKzIvmA3VjggIYEaDowJ49PgHkhY6lMDZKdvQPL2FwmpizKRHjNSNQ0GKA/8W pqLZ357uQIhfipREuWSiikeL166k3rt7BV43EnzhzeLsxpNSzh5zDgaiuY7s/PYaZ7NO W5BquoYIegvSDJaXs/z3f4C006mnrN12pX5Efn3D8Hb6NQeFRqlVtacUGCOdTSg9g605 ez0TZBJ4R1Gha4YJbJu7HMGT7n6uBxgNMkCAYu0NzH7rkgqNveObXRAB3djrcB5a3rJ2 ShkFTwRiwKWgaYTSy6V1bU6aMwqTFwo+18ySIKC1MEUHfIA8vJWiYV/6F3xFwQnzbQZ0 sCCQ== MIME-Version: 1.0 X-Received: by 10.66.26.167 with SMTP id m7mr16597709pag.212.1362112155166; Thu, 28 Feb 2013 20:29:15 -0800 (PST) In-Reply-To: References: <512f6585$0$3108$ba620e4c@news.skynet.be> <512f6cd7$0$3108$ba620e4c@news.skynet.be> Date: Fri, 1 Mar 2013 15:29:14 +1100 Subject: Re: raw format string in string format method? 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362112158 news.xs4all.nl 6931 [2001:888:2000:d::a6]:59966 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40221 On Fri, Mar 1, 2013 at 10:27 AM, Rick Johnson wrote: > On Thursday, February 28, 2013 8:42:31 AM UTC-6, Helmut Jarausch wrote: > >> Originally I had used percent-formatting >> But isn't it deprecated in Python 3.X ? > > I don't know the current state of "percent formats" future, however, i can tell you that it should be deprecated ASAP! On Fri, Mar 1, 2013 at 11:00 AM, Mark Lawrence wrote: > Nope please see > http://mail.python.org/pipermail/python-dev/2012-February/116790.html And there, folks, you have it. The known troll demands its removal, a core dev says that it's staying. Percent formatting is a viable parallel to .format(), with some handy differences - such as the distinction of significant characters, as proven here. Both are going to stay, and I'm glad of it! ChrisA