29 Feb
2008
29 Feb
'08
1:05 p.m.
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@gmail.com | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org