[issue41250] Number separators in different places

Raymond Hettinger report at bugs.python.org
Thu Jul 9 00:55:17 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

This was considered in PEP 378 — Format Specifier for Thousands Separator.¹  The decision was to keep it simple and only support groups of three digits using a comma as the separator.

FWIW, the decimal documentation has a formatting recipe that could be adapted to meet your needs.²

¹ https://www.python.org/dev/peps/pep-0378/
² https://docs.python.org/3/library/decimal.html#recipes

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41250>
_______________________________________


More information about the Python-bugs-list mailing list