➜

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.

作者 David Vasseur
收信人 David Vasseur
日期 2018-05-12.11:30:06
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1526124606.41.0.682650639539.issue33471@psf.upfronthosting.co.za>
In-reply-to
内容
Python 3.6.5 (default, Apr 14 2018, 13:17:30) 
[GCC 7.3.1 20180406] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print('{:n}'.format(int(12)))
12 <-- ok --

>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'fr_FR.UTF-8'
>>> print('{:n}'.format(int(12)))
(empty) <-- error --
'{:n}'.format(int(12))
'Àæ' <-- error --

please note that with >999 numbers, it's working fine:
>>> print('{:n}'.format(int(1000)))
1 000 <-- ok --
历史
日期 用户 动作 参数
2018-05-12 11:30:06David Vasseur修改recipients: + David Vasseur
2018-05-12 11:30:06David Vasseur修改messageid: <1526124606.41.0.682650639539.issue33471@psf.upfronthosting.co.za>
2018-05-12 11:30:06David Vasseur链接issue33471 messages
2018-05-12 11:30:06David Vasseur创建