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


Groups > comp.lang.python > #84367

Re: [OT] absolute vs. relative URI

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.04; 'languages.': 0.04; 'string': 0.09; 'bug.': 0.09; 'formatting': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '(x,': 0.16; '24,': 0.16; 'compatible.': 0.16; 'deprecated,': 0.16; 'formatting!': 0.16; 'formatting.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'notation,': 0.16; 'old-style': 0.16; 'sat,': 0.16; 'student': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'especially': 0.30; 'message- id:@mail.gmail.com': 0.30; 'please.': 0.31; 'yesterday': 0.31; 'but': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'thanks': 0.36; 'wrong': 0.37; 'being': 0.38; 'subject:. ': 0.67; '2015': 0.84; '3:00': 0.84; 'to:none': 0.92
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:cc :content-type; bh=5+faqld3ndm+m6sxM+AAYqOzfP3iuXG7g7t8aPx6EIo=; b=IWHmvy5EV9tdueroaE87JFZDgQqQiujEczCnQFglHvmrAwVRx2W9QUC0HwhZTQn9Wc Kx/EsUkjE3ucgZ1wxy6GDOJSCTtWe62R4twwlPS42dV3Mbizpw4X3rkXvYkw6ksc/71E Rq6RH80D6MFvhj9Y4e1TNMaQBAmluTWe7GXioeu2QpOzf544CxdDzkQ1aPe/dH4QtAA1 vrzjD5wcAdvfMfR5GF4lYG7G2jgVTPEGkOFWIb+Y8U2UTYh71NTUe6vmkXLjcSpgwoWG tTZExizGbVAGPTCrtQWkR2g7lrc991sevbMVqCpTw2Kv01qGbp8nKzuPAN5GJcUoaSxu 82/g==
MIME-Version 1.0
X-Received by 10.140.97.203 with SMTP id m69mr15542393qge.39.1422035325917; Fri, 23 Jan 2015 09:48:45 -0800 (PST)
In-Reply-To <CAMw+j7+EWX+K_c1a368fA5b6BERv0Ah0SxOd-=HkPiVqdt970g@mail.gmail.com>
References <m9tmt8$hbn$1@reader1.panix.com> <87twzh34r6.fsf@elektro.pacujo.net> <m9tq24$1pu$1@reader1.panix.com> <CAMw+j7+EWX+K_c1a368fA5b6BERv0Ah0SxOd-=HkPiVqdt970g@mail.gmail.com>
Date Sat, 24 Jan 2015 04:48:45 +1100
Subject Re: [OT] absolute vs. relative URI
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.18045.1422035333.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1422035333 news.xs4all.nl 2847 [2001:888:2000:d::a6]:56176
X-Complaints-To abuse@xs4all.nl
X-Received-Body-CRC 1857546375
X-Received-Bytes 3809
Xref csiph.com comp.lang.python:84367

Show key headers only | View raw


On Sat, Jan 24, 2015 at 3:00 AM, Chris Warrick <kwpolska@gmail.com> wrote:
> 5. especially old-style %-based string formatting!

Please. There's nothing wrong with %-style formatting. It's not
deprecated, and never will be; and it has the advantage of being
cross-language compatible. I was speaking with a Python student
yesterday who didn't understand the {} notation, but grokked "%d + %d
= %d" % (x, y, x+y) instantly, thanks to experience with other
languages.

Use of % formatting is not a bug.

ChrisA

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


Thread

[OT] absolute vs. relative URI Grant Edwards <invalid@invalid.invalid> - 2015-01-23 14:47 +0000
  Re: [OT] absolute vs. relative URI Marko Rauhamaa <marko@pacujo.net> - 2015-01-23 17:18 +0200
    Re: [OT] absolute vs. relative URI Grant Edwards <invalid@invalid.invalid> - 2015-01-23 15:40 +0000
      Re: [OT] absolute vs. relative URI Chris Warrick <kwpolska@gmail.com> - 2015-01-23 17:00 +0100
        Re: [OT] absolute vs. relative URI Grant Edwards <invalid@invalid.invalid> - 2015-01-23 17:10 +0000
      Re: [OT] absolute vs. relative URI Chris Angelico <rosuav@gmail.com> - 2015-01-24 04:48 +1100
        Re: [OT] absolute vs. relative URI Rick Johnson <rantingrickjohnson@gmail.com> - 2015-01-23 11:02 -0800
          Re: [OT] absolute vs. relative URI Chris Angelico <rosuav@gmail.com> - 2015-01-24 06:46 +1100
          Re: [OT] absolute vs. relative URI Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-23 20:22 +0000
  Re: [OT] absolute vs. relative URI Chris Angelico <rosuav@gmail.com> - 2015-01-24 04:55 +1100
  Re: [OT] absolute vs. relative URI Tony the Tiger <tony@tiger.invalid> - 2015-01-23 18:21 +0000

csiph-web