Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45683

Re: PEP 378: Format Specifier for Thousands Separator

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: PEP 378: Format Specifier for Thousands Separator
Date 2013-05-21 20:26 +0100
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> <CANc-5UyWuCd+roRt5V5aocx0vEc1TXfDnG2-phy_gAKSRaqOBA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1933.1369164394.3114.python-list@python.org> (permalink)

Show all headers | View raw


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.
>

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: PEP 378: Format Specifier for Thousands Separator Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-21 20:26 +0100

csiph-web