Raymond Hettinger <raymond.hettin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue41250> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com