Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45682
| 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 | <skip.montanaro@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; '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 | <BLU176-W9FF52BDCE42DAF40E6AC7D7A80@phx.gbl> |
| References | <BLU176-W10190CB892A0414C988A05D7A80@phx.gbl> <nad-F52CE7.22440720052013@news.gmane.org> <CADUW+M=Y7b=4ZEENVzx4p6YpVD8T0eG=qz7sz8+iEow-5-o+jQ@mail.gmail.com> <BLU176-W9FF52BDCE42DAF40E6AC7D7A80@phx.gbl> |
| 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 <skip@pobox.com> |
| To | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | "python-list@python.org" <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 <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1932.1369163588.3114.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
> 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: PEP 378: Format Specifier for Thousands Separator Skip Montanaro <skip@pobox.com> - 2013-05-21 14:13 -0500
csiph-web