Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45699
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!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.031 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'python.': 0.02; 'output': 0.05; 'subject:PEP': 0.07; 'pep': 0.09; 'received:65.55.116.7': 0.16; 'specifier': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '+0000': 0.22; 'to:name:python-list@python.org': 0.22; 'received:65.55.116': 0.24; 'source': 0.25; 'header:In-Reply- To:1': 0.27; 'skip:- 40': 0.29; 'url:mailman': 0.30; 'code': 0.31; 'steven': 0.31; 'url:python': 0.33; 'date:': 0.34; 'classes': 0.35; 'something': 0.35; 'no,': 0.35; 'url:listinfo': 0.36; 'possible': 0.36; 'url:org': 0.36; 'so,': 0.37; 'email addr:python.org': 0.37; 'to:addr:python-list': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 're:': 0.63; 'email name:python-list': 0.65; 'rendering': 0.68; 'causes,': 0.84; 'carlos': 0.91; '2013': 0.98 |
| X-TMN | [2hPTAsEYZxSEACHZ8C/EGltOZ5tDNfmY] |
| 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 | Wed, 22 May 2013 05:56:53 +0300 |
| Importance | Normal |
| In-Reply-To | <519c30b0$0$6599$c3e8da3$5496439d@news.astraweb.com> |
| References | <knghok$3bd$1@ger.gmane.org> <519c30b0$0$6599$c3e8da3$5496439d@news.astraweb.com> |
| Content-Type | text/plain; charset="iso-8859-1" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 22 May 2013 02:56:53.0847 (UTC) FILETIME=[03C34670:01CE5698] |
| 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.1946.1369191420.3114.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369191420 news.xs4all.nl 15939 [2001:888:2000:d::a6]:57354 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45699 |
Show key headers only | View raw
---------------------------------------- > From: steve+comp.lang.python@pearwood.info > Subject: Re: PEP 378: Format Specifier for Thousands Separator > Date: Wed, 22 May 2013 02:42:56 +0000 > To: python-list@python.org > > On Tue, 21 May 2013 23:22:24 +0300, Carlos Nepomuceno wrote: > >> Anyway, is it possible to overload str.__mod__() without deriving a >> class? I mean to have something like: > > No, not in Python. If you want to monkey-patch built-in classes on the > fly, with all the troubles that causes, use Ruby. > So, the only alternative to have "'%,d' % x" rendering the thousands separator output would a C source code modification? > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
RE: PEP 378: Format Specifier for Thousands Separator Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-21 23:22 +0300
Re: PEP 378: Format Specifier for Thousands Separator Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-22 02:42 +0000
RE: PEP 378: Format Specifier for Thousands Separator Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-22 05:56 +0300
Re: PEP 378: Format Specifier for Thousands Separator Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-22 03:08 +0000
RE: PEP 378: Format Specifier for Thousands Separator Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-22 06:38 +0300
Re: PEP 378: Format Specifier for Thousands Separator 88888 Dihedral <dihedral88888@gmail.com> - 2013-05-22 00:14 -0700
Re: PEP 378: Format Specifier for Thousands Separator Ned Batchelder <ned@nedbatchelder.com> - 2013-05-22 07:25 -0400
RE: PEP 378: Format Specifier for Thousands Separator Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-22 14:52 +0300
csiph-web