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 eric.smith
Recipients eric.smith, mark, mark.dickinson
Date 2008-05-11.21:17:52
SpamBayes Score 0.014088474
Marked as misclassified No
Message-id <1210540677.8.0.101567029042.issue2802@psf.upfronthosting.co.za>
In-reply-to
Content
Implemented in 3.0 as r63093.  I'm closing this issue.

I added the C code that does the grouping insertion as
_PyString_InsertThousandsGrouping and _PyUnicode_InsertThousandsGrouping
(in 3.0).  This might be useful to others, although the API is fairly
complicated.

Mark Dickinson: For Decimal, you can probably get what you need from
Lib/locale.py, although the function _group() is private.
History
Date User Action Args
2008-05-11 21:17:58eric.smithsetspambayes_score: 0.0140885 -> 0.014088474
recipients: + eric.smith, mark.dickinson, mark
2008-05-11 21:17:57eric.smithsetspambayes_score: 0.0140885 -> 0.0140885
messageid: <1210540677.8.0.101567029042.issue2802@psf.upfronthosting.co.za>
2008-05-11 21:17:56eric.smithlinkissue2802 messages
2008-05-11 21:17:54eric.smithcreate