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 pitrou
Recipients edlm10, georg.brandl, loewis, pitrou, waveform
Date 2008-01-31.21:16:43
SpamBayes Score 0.048302185
Marked as misclassified No
Message-id <1201814205.4.0.187939717016.issue1222@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch. It is fairly big and I'm sorry about it, here is why:
1. it reworks the test suite using unittest, and makes it more comprehensive
2. it adds a feature in locale.py which allows overriding the localeconv
dictionary (this is necessary for proper testing)
3. it fixes the present bug, and also fixes integer formatting with
grouping and padding (which was broken, as well as untested)

Point 2 above may be controversial, it is just a dictionary (by default
empty) named _override_localeconv, if you prefer we can make it a real
API, e.g. _set_localeconv().
History
Date User Action Args
2008-01-31 21:16:45pitrousetspambayes_score: 0.0483022 -> 0.048302185
recipients: + pitrou, loewis, georg.brandl, edlm10, waveform
2008-01-31 21:16:45pitrousetspambayes_score: 0.0483022 -> 0.0483022
messageid: <1201814205.4.0.187939717016.issue1222@psf.upfronthosting.co.za>
2008-01-31 21:16:44pitroulinkissue1222 messages
2008-01-31 21:16:43pitroucreate