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 Retro
Recipients Retro
Date 2010-10-18.10:26:00
SpamBayes Score 1.6061842e-06
Marked as misclassified No
Message-id <1287397563.59.0.0941833598936.issue10135@psf.upfronthosting.co.za>
In-reply-to
Content
Have your default locale set to 'Slovenian' which uses a comma for the decimal symbol, like 2.76 is written as 2,76. Observe that the format specifier 'n' does not work for the default 'Slovenian' locale setting.

Then try running this in the Python interpreter:
'{number:.3n}'.format(number=2.76)

You get this:
>>> '{number:.3n}'.format(number=2.76)
'2.76'

Excepted the is the return value '2,76'. Please fix this bug.
History
Date User Action Args
2010-10-18 10:26:03Retrosetrecipients: + Retro
2010-10-18 10:26:03Retrosetmessageid: <1287397563.59.0.0941833598936.issue10135@psf.upfronthosting.co.za>
2010-10-18 10:26:01Retrolinkissue10135 messages
2010-10-18 10:26:00Retrocreate