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, eric.smith, georg.brandl, loewis, mark.dickinson, pitrou, waveform, wdoekes
Date 2009-03-18.17:02:30
SpamBayes Score 4.409437e-09
Marked as misclassified No
Message-id <1237395824.5852.1.camel@fsol>
In-reply-to <1237391429.89.0.382193891804.issue1222@psf.upfronthosting.co.za>
Content
Hi Mark,

> AssertionError: '     4200' != '      4200'
> 
> Any idea what's going on here?

The problem seems to be that the thousands separator on the Solaris
variant of en_US is an empty string (rather than a comma) (*), and
apparently it hits a bug in the padding mechanism (which perhaps assumes
that the thousands separator is always a 1-character string).

(*) (another reason not to use any C locale-based mechanism for
localization, by the way...)
History
Date User Action Args
2009-03-18 17:02:33pitrousetrecipients: + pitrou, loewis, georg.brandl, mark.dickinson, eric.smith, edlm10, waveform, wdoekes
2009-03-18 17:02:31pitroulinkissue1222 messages
2009-03-18 17:02:30pitroucreate