Cédric Krier <[email protected]> added the comment:
I think PR-15275 will solves this issue also as you could use:
>>> locale.setlocale(locale.LC_ALL, 'fr_FR')
>>> locale.localize('{:.2f}'.format(1.891))
'1,89'
----------
nosy: +ced
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33731>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com