Re: [Python-Dev] floatformat vs float_format

2009-01-01 Thread David Cournapeau
On Thu, Jan 1, 2009 at 6:43 PM, Eric Smith wrote: > David Cournapeau wrote: >> >> Hi, >> >> In python 2.6, there have been some effort to make float formatting >> more consistent between platforms, which is nice. Unfortunately, there >> is still one corner case, for example on windows: >> >> print

Re: [Python-Dev] floatformat vs float_format

2009-01-01 Thread Eric Smith
David Cournapeau wrote: Hi, In python 2.6, there have been some effort to make float formatting more consistent between platforms, which is nice. Unfortunately, there is still one corner case, for example on windows: print a -> print 'inf' print '%f' % a -> print '1.#INF' The difference being