Re: [Python-Dev] Binary Operator for New-Style String Formatting

2009-06-21 Thread Jerry Chen
tion between format string and format parameters, as I much prefer: "%s %s %s" % (1, 2, 3) over "{0} {1} {2}".format(1, 2, 3) The former is a style I've grown accustomed to, and if % is indeed being slated for removal in Python 3.2, then I will miss it sorely (or...

[Python-Dev] Binary Operator for New-Style String Formatting

2009-06-21 Thread Jerry Chen
oduce an accurate patch at any given time. The code is available at: http://github.com/jcsalterego/py3k-atsign/ The SVN patch [4] or related commit [5] are good starting points. References: [1] http://www.python.org/dev/peps/pep-3101 [2] http://docs.python.org/3.0/whatsnew/3.0.html [3] http:/