Author David Vasseur
Recipients David Vasseur
Date 2018-05-12.11:30:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526124606.41.0.682650639539.issue33471@psf.upfronthosting.co.za>
In-reply-to
Content
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 --
History
Date User Action Args
2018-05-12 11:30:06David Vasseursetrecipients: + David Vasseur
2018-05-12 11:30:06David Vasseursetmessageid: <1526124606.41.0.682650639539.issue33471@psf.upfronthosting.co.za>
2018-05-12 11:30:06David Vasseurlinkissue33471 messages
2018-05-12 11:30:06David Vasseurcreate