Re: [Python-3000] PEP 3101 update

2006-06-23 Thread Guido van Rossum
On 6/22/06, Talin <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > To Talin: I'm all for a way to say blah(x, "2.2g") instead of the more > > verbose "{2.2g}".format(x). In fact it would probably be great if the > > latter was officially defined as a way to spell the former combined > > wit

Re: [Python-3000] PEP 3101 update

2006-06-23 Thread Nick Coghlan
Guido van Rossum wrote: > "foo{2.2g}bar{3.3f}spam".format(x, y) Getting a format string like that to work would be tricky. With the current PEP, it would need to be: "foo{0:2.2g}bar{1:3.3f}spam".format(x, y) It should be possible to simplify that without ambiguity to: "foo{:2.2g}bar{:3

Re: [Python-3000] PEP 3101 update

2006-06-23 Thread Talin
Guido van Rossum wrote: > On 6/20/06, Talin <[EMAIL PROTECTED]> wrote: > The svn access controls make this impossible AFAIK (but I know very > little about them). I suggest you use one of the more distributed > alternatives, e.g. Mercurial (I keep hearing good things about it). All right, I spent