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, pitrou, waveform
Date 2008-01-12.17:18:20
SpamBayes Score 0.14091
Marked as misclassified No
Message-id <1200158301.57.0.895382384068.issue1222@psf.upfronthosting.co.za>
In-reply-to
Content
Just tried on 2.5.1 and on trunk, I can't reproduce it. On both I get:

>>> import locale
>>> locale.setlocale(locale.LC_NUMERIC, "fr_FR.UTF-8")
'fr_FR.UTF-8'
>>> locale.format("%9.2f", 12345.67, True)
' 12345,67'
>>> locale.format("%.2f", 12345.67, True)
'12345,67'
>>> locale.localeconv()['thousands_sep']
''

Which means that there is no thousands separator for the French locale
on my system (a Mandriva Linux box).
History
Date User Action Args
2008-01-12 17:18:21pitrousetspambayes_score: 0.14091 -> 0.14091
recipients: + pitrou, edlm10, waveform
2008-01-12 17:18:21pitrousetspambayes_score: 0.14091 -> 0.14091
messageid: <1200158301.57.0.895382384068.issue1222@psf.upfronthosting.co.za>
2008-01-12 17:18:20pitroulinkissue1222 messages
2008-01-12 17:18:20pitroucreate