Cédric Krier added the comment: Example:
>>> import locale >>> locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8') 'fr_FR.UTF-8' >>> locale.atof('2.5') 2.5 >>> locale.atof('2,5') 2.5 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25543> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com