Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed4.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'operator': 0.03; 'method.': 0.07; 'subject:PEP': 0.07; 'string': 0.09; 'deprecated': 0.09; 'locale': 0.09; 'modulo': 0.09; 'cc:addr :python-list': 0.11; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; "object's": 0.16; 'peek': 0.16; 'str.format()': 0.16; 'unlikely': 0.16; 'sender:addr:gmail.com': 0.17; 'cc:addr:python.org': 0.22; 'instead.': 0.24; 'skip': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'thank': 0.38; 'lost': 0.61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jNE/FjyAd85FY4JbjmpihWPi2Qfix8UTAl8Xz/umVkM=; b=t6FVpdqfoarZIpdOEhRgTYPCeuw5iMi/sZg6ioEOPb5HehIBquH13CABmWp+syjSnF S1Ltj5B0dyz0dqdJrwRANsAuED18APC7VXQcdQC2b6U1sUrta877XqiHm5fcb+bXq2fS EIvrVkqSynMZFir/fr7yQhyUOVoCMIEl2e2WzgtaSqJBXWwVC+w9uZnHGQDUMIz0mhoh zsoOYOakmMeYK5Ru4HyoGTdmYKrh3rnQ9w0VXxBePFZasqQYPccUbFrknhciSn5TFSEZ w5RQcfx9PY0Kyr+bRXxrTju1aEi5aSkyNXUvNYGaJZoQCuYEq1RZoO1XyDxx2mvXBhTm DK4g== MIME-Version: 1.0 X-Received: by 10.50.27.37 with SMTP id q5mr8700634igg.52.1369163585197; Tue, 21 May 2013 12:13:05 -0700 (PDT) Sender: skip.montanaro@gmail.com In-Reply-To: References: Date: Tue, 21 May 2013 14:13:05 -0500 X-Google-Sender-Auth: HfjBQgE4Q9M221Ikj9AQCwtKpCU Subject: Re: PEP 378: Format Specifier for Thousands Separator From: Skip Montanaro To: Carlos Nepomuceno Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369163588 news.xs4all.nl 15996 [2001:888:2000:d::a6]:43339 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45682 > Thank you, but let me rephrase it. I'm already using str.format() but I'd like to use '%' (BINARY_MODULO) operator instead. That's unlikely to change. If not deprecated already string interpolation using the modulo operator has lost favor to the string object's format method. You might be able to get by with a change of your LOCALE setting and/or a peek at the documentation for the locale module. Skip