Re: [Python-Dev] str.format implementation

2011-12-13 Thread Eric V. Smith
On 12/12/2011 10:56 PM, Ben Wolfson wrote: > Hi, > > I'm hoping to get some kind of consensus about the divergences between > the implementation and documentation of str.format > (http://mail.python.org/pipermail/python-dev/2011-June/111860.html and > the linked bug report contain examples of the

Re: [Python-Dev] str.format implementation

2011-12-13 Thread Petri Lehtinen
Ben Wolfson wrote: > Hi, > > I'm hoping to get some kind of consensus about the divergences between > the implementation and documentation of str.format > (http://mail.python.org/pipermail/python-dev/2011-June/111860.html and > the linked bug report contain examples of the divergences). These > pe

Re: [Python-Dev] str.format implementation

2011-12-13 Thread Nick Coghlan
On Tue, Dec 13, 2011 at 6:37 PM, Raymond Hettinger wrote: > > On Dec 12, 2011, at 7:56 PM, Ben Wolfson wrote: > > I personally would prefer (1) to (2) or (3), and (3) to (2), had I my > druthers, but it doesn't matter a *whole* lot to me; I'd prefer any of > them to nothing (or to changing the doc

Re: [Python-Dev] str.format implementation

2011-12-13 Thread Raymond Hettinger
On Dec 12, 2011, at 7:56 PM, Ben Wolfson wrote: > I personally would prefer (1) to (2) or (3), and (3) to (2), had I my > druthers, but it doesn't matter a *whole* lot to me; I'd prefer any of > them to nothing (or to changing the docs to reflect the current batty > behavior). +1 on changing the

[Python-Dev] str.format implementation

2011-12-12 Thread Ben Wolfson
Hi, I'm hoping to get some kind of consensus about the divergences between the implementation and documentation of str.format (http://mail.python.org/pipermail/python-dev/2011-June/111860.html and the linked bug report contain examples of the divergences). These pertain to the arg_name, attribute_