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: 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: References: Date: Fri, 1 Nov 2013 18:59:24 +1100 Subject: Re: Python wart 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: 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 On Fri, Nov 1, 2013 at 6:11 PM, Peter Cacioppi 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