News for hackers. Stuff that matters.
Re:Underscore.py / a python port of underscore.js by masklinn on Sunday September 09, 2012 @04:47PM (#4496924)
> When did .format supersede normal printf-style string formatting

It was backported, but the superseding is mostly for Python 3.

> Is the latter now deprecated?

Not at all, and not expected to be, though str.format is recommended going forward: http://docs.python.org/py3k/library/stdtypes.html#old-string...

> As the new String Formatting syntax is more flexible and handles tuples and dictionaries naturally, it is recommended for new code. However, there are no current plans to deprecate printf-style formatting.

There are no comments on this comment yet.