Re: [Python-Dev] %-formatting depracation

2011-02-23 Thread Xavier Morel
On 2011-02-23, at 12:30 , Hrvoje Niksic wrote: > On 02/22/2011 11:03 PM, Antoine Pitrou wrote: >> I think there are many people still finding %-style more practical for >> simple uses, > > It's also a clash of cultures. People coming from a C/Unix background > typically find %-style format obviou

Re: [Python-Dev] %-formatting depracation

2011-02-23 Thread Hrvoje Niksic
On 02/22/2011 11:03 PM, Antoine Pitrou wrote: I think there are many people still finding %-style more practical for simple uses, It's also a clash of cultures. People coming from a C/Unix background typically find %-style format obvious and self-explanatory, while people coming from Java/Dot

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Westley Martínez
On Tue, 2011-02-22 at 23:03 +0100, Antoine Pitrou wrote: > On Wed, 23 Feb 2011 07:52:23 +1000 > Nick Coghlan wrote: > > > On Wed, Feb 23, 2011 at 4:51 AM, Brett Cannon wrote: > > > The very long term view is for %-formatting to go away, but that's as far > > > as > > > the thinking has gone. Th

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Nick Coghlan
On Wed, Feb 23, 2011 at 8:03 AM, Antoine Pitrou wrote: > I think there are many people still finding %-style more practical for > simple uses, A lot of the sting went out of that objection when field autonumbering was added to new-style formatting ("'%s' % (obj,)" vs "'{}'.format(obj)" as the min

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Martin v. Löwis
> The very long term view is for %-formatting to go away Add to that that this view isn't universally shared among contributors. Many of us would rather see % formatting stay indefinitely. I regularly use it for new code. Regards, Martin ___ Python-Dev

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Antoine Pitrou
On Wed, 23 Feb 2011 07:52:23 +1000 Nick Coghlan wrote: > On Wed, Feb 23, 2011 at 4:51 AM, Brett Cannon wrote: > > The very long term view is for %-formatting to go away, but that's as far as > > the thinking has gone. There are currently no plans to introduce any > > deprecation warning, and I h

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Nick Coghlan
On Wed, Feb 23, 2011 at 4:51 AM, Brett Cannon wrote: > The very long term view is for %-formatting to go away, but that's as far as > the thinking has gone. There are currently no plans to introduce any > deprecation warning, and I highly doubt we will even remove the feature in > Python 3, giving

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Eric Smith
On 02/22/2011 01:43 PM, Ethan Furman wrote: Greetings! According to these release notes in Python 3.0, %-formatting will be going away. http://docs.python.org/release/3.0.1/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting However, I was unable to find any further evidence of ac

Re: [Python-Dev] %-formatting depracation

2011-02-22 Thread Brett Cannon
On Tue, Feb 22, 2011 at 10:43, Ethan Furman wrote: > Greetings! > > According to these release notes in Python 3.0, %-formatting will be going > away. > > > http://docs.python.org/release/3.0.1/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting > > > However, I was unable to find any

[Python-Dev] %-formatting depracation

2011-02-22 Thread Ethan Furman
Greetings! According to these release notes in Python 3.0, %-formatting will be going away. http://docs.python.org/release/3.0.1/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting However, I was unable to find any further evidence of actual deprecation in 3.1 or 3.2... does any