Re: [Python-3000] Need Decimal.__format__

2007-08-31 Thread Eric Smith
Talin wrote: > I'm looking for a volunteer who understands the Decimal class well > enough to write a __format__ method for it. It should handle all of the > same format specifiers as float.__format__, but it should not use the > same implementation as float (so as to preserve accuracy.) > > Al

Re: [Python-3000] Need Decimal.__format__

2007-08-31 Thread Nicko van Someren
On 31 Aug 2007, at 02:36, Talin wrote: ... > Also, I'm interested in suggestions as to any other standard types > that > ought to have a __format__ method, other than the obvious Date/Time > classes. What kinds of things do people usually want to print? For years I've thought that various collec

Re: [Python-3000] Need Decimal.__format__

2007-08-30 Thread Guido van Rossum
On 8/30/07, Eric Smith <[EMAIL PROTECTED]> wrote: > Talin wrote: > > I'm looking for a volunteer who understands the Decimal class well > > enough to write a __format__ method for it. It should handle all of the > > same format specifiers as float.__format__, but it should not use the > > same impl

Re: [Python-3000] Need Decimal.__format__

2007-08-30 Thread Eric Smith
Talin wrote: > I'm looking for a volunteer who understands the Decimal class well > enough to write a __format__ method for it. It should handle all of the > same format specifiers as float.__format__, but it should not use the > same implementation as float (so as to preserve accuracy.) If no

[Python-3000] Need Decimal.__format__

2007-08-30 Thread Talin
I'm looking for a volunteer who understands the Decimal class well enough to write a __format__ method for it. It should handle all of the same format specifiers as float.__format__, but it should not use the same implementation as float (so as to preserve accuracy.) Also, I'm interested in sug