This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients
Date 2006-04-03.18:44:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=6380

I like this.

The reason to like this in favor of s%x was expressed by
Walter Dörwald on the python-3000 list:

"""
it avoids one problem you might run into with %:
If you have only one argument, writing ``s % (x,)``
as ``s % x`` will break when the
argument x happens to be a tuple.
You won't have this problem with
s.format(x).
"""

However, this might be our chance to introduce a new
formatting syntax, since there are many problems with the %s
style (especially %(foo)s).  See PEP 292.

We need a Python 3000 group in the trackers.
History
Date User Action Args
2007-08-23 15:48:05adminlinkissue1463370 messages
2007-08-23 15:48:05admincreate