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


Groups > comp.lang.python > #40221

Re: raw format string in string format method?

References <512f6585$0$3108$ba620e4c@news.skynet.be> <mailman.2646.1362061370.2939.python-list@python.org> <512f6cd7$0$3108$ba620e4c@news.skynet.be> <acf73978-d332-4b57-8094-4fe5c52a669d@googlegroups.com>
Date 2013-03-01 15:29 +1100
Subject Re: raw format string in string format method?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2701.1362112158.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Mar 1, 2013 at 10:27 AM, Rick Johnson
<rantingrickjohnson@gmail.com> wrote:
> On Thursday, February 28, 2013 8:42:31 AM UTC-6, Helmut Jarausch wrote:
>
>> Originally I had used percent-formatting
>> But isn't  it deprecated in Python 3.X ?
>
> I don't know the current state of "percent formats" future, however, i can tell you that it should be deprecated ASAP!

On Fri, Mar 1, 2013 at 11:00 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> Nope please see
> http://mail.python.org/pipermail/python-dev/2012-February/116790.html

And there, folks, you have it. The known troll demands its removal, a
core dev says that it's staying.

Percent formatting is a viable parallel to .format(), with some handy
differences - such as the distinction of significant characters, as
proven here.

Both are going to stay, and I'm glad of it!

ChrisA

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


Thread

raw format string in string format method? Helmut Jarausch <jarausch@skynet.be> - 2013-02-28 14:11 +0000
  Re: raw format string in string format method? Chris Angelico <rosuav@gmail.com> - 2013-03-01 01:22 +1100
    Re: raw format string in string format method? Helmut Jarausch <jarausch@skynet.be> - 2013-02-28 14:42 +0000
      Re: raw format string in string format method? Chris Angelico <rosuav@gmail.com> - 2013-03-01 02:09 +1100
      Re: raw format string in string format method? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-28 15:27 -0800
        Re: raw format string in string format method? Chris Angelico <rosuav@gmail.com> - 2013-03-01 15:29 +1100
      Re: raw format string in string format method? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-01 00:00 +0000
  Re: raw format string in string format method? Peter Otten <__peter__@web.de> - 2013-02-28 16:41 +0100
  Re: raw format string in string format method? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-28 15:06 -0800

csiph-web