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 vstinner
Recipients cstratak, serhiy.storchaka, skrah, vstinner
Date 2017-12-18.14:27:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513607254.65.0.213398074469.issue31900@psf.upfronthosting.co.za>
In-reply-to
Content
Oh. Another Python function is impacted by the bug, str.format:

$ env -i python3 -c 'import locale; locale.setlocale(locale.LC_ALL, "fr_FR"); locale.setlocale(locale.LC_NUMERIC, "es_MX.utf8"); print(ascii(f"{1000:n}"))'
'1\xe2\x80\x89000'

It should be '1\u2009000' ('1', '\u2009', '000').
History
Date User Action Args
2017-12-18 14:27:34vstinnersetrecipients: + vstinner, skrah, serhiy.storchaka, cstratak
2017-12-18 14:27:34vstinnersetmessageid: <1513607254.65.0.213398074469.issue31900@psf.upfronthosting.co.za>
2017-12-18 14:27:34vstinnerlinkissue31900 messages
2017-12-18 14:27:34vstinnercreate