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


Groups > comp.lang.python > #58244

Re: Python wart

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.039
X-Spam-Evidence '*H*': 0.93; '*S*': 0.01; 'operator': 0.03; 'syntax': 0.04; 'subject:Python': 0.06; 'python': 0.11; 'argument,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'tuple': 0.16; 'tuple,': 0.16; 'wrote:': 0.18; "python's": 0.19; 'value.': 0.19; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'languages': 0.32; 'cases': 0.33; 'fri,': 0.33; 'could': 0.34; 'except': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'edge': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'wonderful': 0.60; 'provide': 0.64; '6:11': 0.84; 'maybe,': 0.84; 'obligation': 0.91; 'thing,': 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=TjfqPSMIQ0Dzgj2qJzOWSORGj1LAWJ2aV0JPK7ayFUc=; b=boyQsEwG5IEaARkWd+GV9m5VBxGdzxWeuiSOlH9u3r2AXpFlNqIpHaELkyaXaaqtUj nuxiJHCVGBnwqUhfoedWujXGZs6QpoYRbT1aNiI9ZwBq0Q+D/rQ2UKpt1//EbJjAsGCI sqeLnXDFxPon2D7k5d65Q1u+dmTe1EFqFuTImM6bxtnOVQPoDRQaAZ0pavBaCd+IPbQE FiVyJdOVSqrk2K//Ch6LPV/iw3o4jPRLhlBxJEREieuYWq5JywxNr7GoRa/vysyzjlcc 0smE/DbGGT2vCNTCGXXWUCNees1VvbCSa5DvHQrHhrF9auZQgC2b9CTzyNXKbDDkLTCX gvxw==
MIME-Version 1.0
X-Received by 10.68.182.3 with SMTP id ea3mr1947403pbc.124.1383292764616; Fri, 01 Nov 2013 00:59:24 -0700 (PDT)
In-Reply-To <ae5c7f51-25fa-4c74-b5c6-6832f93a6362@googlegroups.com>
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>
Date Fri, 1 Nov 2013 18:59:24 +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.1909.1383292773.18130.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1383292773 news.xs4all.nl 15903 [2001:888:2000:d::a6]:52841
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:58244

Show key headers only | View raw


On Fri, Nov 1, 2013 at 6:11 PM, Peter Cacioppi <peter.cacioppi@gmail.com> wrote:
> The printf syntax in C isn't any wonderful thing, and there is no obligation to provide some Python version of it.

Maybe, but it's supported by so many languages that it is of value.
Though Python's use of the % operator does lead to edge cases (a
single argument, except if it's a tuple, even though a tuple could be
accepted by %r), so a printf() function might be cleaner.

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