Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.04; 'python': 0.08; 'obsolete': 0.09; 'definite': 0.16; 'deprecated.': 0.16; 'removal.': 0.16; 'subject:vs.': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'cc:addr:python-list': 0.16; 'mon,': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'jan': 0.19; 'cc:no real name:2**0': 0.20; 'cheers,': 0.20; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'statement': 0.23; 'versions': 0.23; 'formatting': 0.23; 'string': 0.24; 'cc:2**0': 0.24; 'received:74.125.82.174': 0.24; "i'm": 0.26; 'described': 0.28; 'message-id:@mail.gmail.com': 0.28; 'explicitly': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'definition': 0.30; 'url:library': 0.31; "can't": 0.32; "isn't": 0.33; 'away.': 0.34; 'here,': 0.35; 'operations': 0.35; 'received:74.125.82': 0.35; 'url:python': 0.36; 'skip:" 10': 0.37; 'but': 0.37; 'received:74.125': 0.37; 'received:google.com': 0.37; 'steven': 0.38; 'describe': 0.39; 'url:docs': 0.39; 'url:org': 0.39; 'johnson': 0.39; 'stop': 0.63; 'believe': 0.65; 'here': 0.65; 'taking': 0.66; '2012': 0.67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=xEuSC8V+Ak6maeq9XxOavSV7ajhsIcI2EAskwiiOVVo=; b=PvK/KVSl47c5wdRCjKX6/8klGQFMT4QI4MlIQekVsvsdPNtbi83Bz139rw1R0l3QRo ua0CFvw04H1oIISKn1fEpE+kdmRUdKaXv7uh4GxMeWAEcAqYR5e/zaWwwLpzON3rSDSF pJd7S7ItFHPn5R0+h6oDro5REzJgM/jIBfdmE= MIME-Version: 1.0 In-Reply-To: <4f027b79$0$29880$c3e8da3$5496439d@news.astraweb.com> References: <5642862.375.1325355574622.JavaMail.geo-discussion-forums@vbbhx10> <4EFF559E.1050408@gmail.com> <4f027b79$0$29880$c3e8da3$5496439d@news.astraweb.com> From: Ian Kelly Date: Mon, 2 Jan 2012 22:58:23 -0700 Subject: Re: .format vs. % To: "Steven D'Aprano" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1325570338 news.xs4all.nl 6840 [2001:888:2000:d::a6]:38787 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18377 On Mon, Jan 2, 2012 at 8:52 PM, Steven D'Aprano wrote: > On Mon, 02 Jan 2012 17:59:43 -0800, Rick Johnson wrote: > >> On Jan 2, 4:00=A0pm, Ethan Furman wrote: >>> %-style formatting isn't going away. >> >> You may want to freshen up on the definition of "deprecation". > > I'm sure Ethan knows the definition of deprecation. I'm sure he also > knows that % formatting is NOT deprecated. Please stop spreading FUD > about Python features. I can't believe I'm taking Rick's side here, but the docs do say: "Note: The formatting operations described here are obsolete and may go away in future versions of Python. Use the new String Formatting in new code." http://docs.python.org/py3k/library/stdtypes.html#old-string-formatting-ope= rations I consider that a statement of deprecation, even if it doesn't use the term explicitly or describe a definite timeline for removal. Cheers, Ian