Author eric.smith
Recipients eric.smith, rhettinger, wyz23x2
Date 2020-07-09.06:29:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The formatting specification language is already complicated enough without adding even more to it. As PEP 378 says "It is not the goal to replace the locale module, to perform internationalization tasks, or accommodate every possible convention."

Your best bet is to write your own formater and use that:


You could also pass it whatever parameters you want, like specifying the number of digits or the separator or whether to use the locale to determine these things.

The PEP suggests Babel (, which I don't have any experience with, but seems pretty complete.
Date User Action Args
2020-07-09 06:29:06eric.smithsetrecipients: + eric.smith, rhettinger, wyz23x2
2020-07-09 06:29:06eric.smithsetmessageid: <>
2020-07-09 06:29:06eric.smithlinkissue41250 messages
2020-07-09 06:29:06eric.smithcreate