[Python-checkins] r61123 - in python/trunk: Lib/decimal.py Lib/test/test_decimal.py Misc/NEWS

Nick Coghlan ncoghlan at gmail.com
Fri Feb 29 14:05:07 CET 2008


Mark Dickinson wrote:
> Raymond Hettinger <python <at> rcn.com> writes:
> 
>> Wow, the decimal module has grown to 5500 lines.
>>
>> Raymond
>>
> 
> It would be really great if the code for parsing the
> format specifier and padding and aligning the
> formatted value could be put elsewhere in the
> std. lib.;  it's really not decimal specific, and
> it could be potentially useful to other modules.
> 
> Any suggestions for places to move it to?

As the parsing functions are specifically for numeric formatting 
support, the numbers module seems like a reasonable option to me.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-checkins mailing list