Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45688
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <carlosnepomuceno@outlook.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'operator': 0.03; 'url:pipermail': 0.05; 'method.': 0.07; 'subject:PEP': 0.07; 'string': 0.09; 'deprecated': 0.09; 'lawrence': 0.09; 'modulo': 0.09; 'pep': 0.09; 'python': 0.11; "object's": 0.16; 'specifier': 0.16; 'str.format()': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'to:name:python-list@python.org': 0.22; 'instead.': 0.24; 'received:65.55.116': 0.24; 'skip': 0.24; 'url:moin': 0.24; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'skip:- 40': 0.29; 'url:bugs': 0.29; "i'm": 0.30; 'url:mailman': 0.30; 'url:wiki': 0.31; 'steven': 0.31; 'url:python': 0.33; 'date:': 0.34; "i'd": 0.34; 'but': 0.35; '+0100': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'thank': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'read': 0.60; 'gone': 0.61; 'lost': 0.61; "you're": 0.61; 're:': 0.63; 'more': 0.64; 'love': 0.65; 'email name:python-list': 0.65; 'charset:windows-1252': 0.65; 'idiom': 0.84; 'url:python-dev': 0.84; '2013': 0.98 |
| X-TMN | [VI5/LuCYf6k1Mp+S5MaA/QYeH+1bZ6uK] |
| X-Originating-Email | [carlosnepomuceno@outlook.com] |
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | RE: PEP 378: Format Specifier for Thousands Separator |
| Date | Tue, 21 May 2013 23:02:10 +0300 |
| Importance | Normal |
| In-Reply-To | <knghok$3bd$1@ger.gmane.org> |
| References | <knghok$3bd$1@ger.gmane.org> |
| Content-Type | text/plain; charset="Windows-1252" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 21 May 2013 20:02:10.0160 (UTC) FILETIME=[13EDF700:01CE565E] |
| 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.1938.1369166599.3114.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369166599 news.xs4all.nl 15908 [2001:888:2000:d::a6]:59906 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45688 |
Show key headers only | View raw
---------------------------------------- > To: python-list@python.org > From: breamoreboy@yahoo.co.uk > Subject: Re: PEP 378: Format Specifier for Thousands Separator > Date: Tue, 21 May 2013 20:26:41 +0100 > > On 21/05/2013 20:13, Skip Montanaro wrote: >>> 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. >> I used to think str.__mod__() was going to be deprecated until Steven told me it was a myth! Think I got that idea from the own Python docs, but it's gone by now. Nevermind... The fact is I have no need for str.format(). It's slow and awkward. str.format() looks like COBOL/Java idiom to me. I love Python! '%' is much more cool!!! > Please stop perpetuating this myth, see > http://mail.python.org/pipermail/python-dev/2012-February/116789.html > and http://bugs.python.org/issue14123 > > -- > If you're using GoogleCrap™ please read this > http://wiki.python.org/moin/GoogleGroupsPython. > > Mark Lawrence > > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
RE: PEP 378: Format Specifier for Thousands Separator Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-21 23:02 +0300
csiph-web