Author serhiy.storchaka
Recipients Ariel.Ben-Yehuda, berker.peksag, chris.jerdonek, eric.smith, ezio.melotti, loewis, serhiy.storchaka
Date 2012-07-08.11:44:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341747870.07.0.398892730114.issue15276@psf.upfronthosting.co.za>
In-reply-to
Content
I confirm the bug on 2.7.

$ ./python 
Python 2.7.3+ (2.7:ab9d6c4907e7+, Apr 25 2012, 20:02:36) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_NUMERIC, 'uk_UA.UTF-8')
'uk_UA.UTF-8'
>>> u'{:n}'.format(10000)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
>>> '{:n}'.format(10000)
'10\xc2\xa0000'
History
Date User Action Args
2012-07-08 11:44:30serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, eric.smith, ezio.melotti, chris.jerdonek, berker.peksag, Ariel.Ben-Yehuda
2012-07-08 11:44:30serhiy.storchakasetmessageid: <1341747870.07.0.398892730114.issue15276@psf.upfronthosting.co.za>
2012-07-08 11:44:29serhiy.storchakalinkissue15276 messages
2012-07-08 11:44:29serhiy.storchakacreate