This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients eric.smith, mark, mark.dickinson
Date 2008-05-09.15:12:02
SpamBayes Score 0.0031781103
Marked as misclassified No
Message-id <1210345923.18.0.252936246258.issue2802@psf.upfronthosting.co.za>
In-reply-to
Content
> As to the implementation, the OS supplied float formatting does not add
> thousands separators.  I added the function add_thousands_grouping() to
> Python/pystrtod.c in order implement this for floats.

Excellent!  I didn't realise this code was already there.  Maybe there's 
also some way to use it to implement 'n' formatting for Decimal (which in 
some ways behaves like a hybrid floating-point and integer type).

I can't think of any reason that the LC_NUMERIC stuff shouldn't apply to 
integers as well as floats.
History
Date User Action Args
2008-05-09 15:12:03mark.dickinsonsetspambayes_score: 0.00317811 -> 0.0031781103
recipients: + mark.dickinson, eric.smith, mark
2008-05-09 15:12:03mark.dickinsonsetspambayes_score: 0.00317811 -> 0.00317811
messageid: <1210345923.18.0.252936246258.issue2802@psf.upfronthosting.co.za>
2008-05-09 15:12:02mark.dickinsonlinkissue2802 messages
2008-05-09 15:12:02mark.dickinsoncreate