On Tue, 2011-02-22 at 23:03 +0100, Antoine Pitrou wrote:
> On Wed, 23 Feb 2011 07:52:23 +1000
> Nick Coghlan <ncogh...@gmail.com> wrote:
> 
> > On Wed, Feb 23, 2011 at 4:51 AM, Brett Cannon <br...@python.org> 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 you probably at least another decade of use at our 
> > > current
> > > major version release schedule. =)
> > 
> > This. Without a systematic way to detect and convert %-style to
> > {}-style formatting, enforcing the switch in the 3.x series just isn't
> > practical. Heck, we still haven't figured out how to convert a lot of
> > higher level APIs to the new scheme in a backwards compatible way
> > (that's why modules like logging still default to %-style, with
> > {}-style only available via options and wrapper objects).
> 
> I think there are many people still finding %-style more practical for
> simple uses, so this might be a case of "practicality beats purity"
> over "there should be one obvious way to do it".
> 
> Regards
> 
> Antoine.
> 
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev@python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-dev/anikom15%40gmail.com

I tried to use the format method, but I found the syntax was getting on
my nerves and have since gone back to %-formatting. So I don't think
it's going away anytime soon.

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to