Author fov
Recipients fov
Date 2021-01-12.23:21:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610493681.29.0.683565759752.issue42914@roundup.psfhosted.org>
In-reply-to
Content
It would be nice if pprint learned to insert underscores in long numbers

Current behavior:

>>> pprint.pprint(int(1e9))
1000000000

Desired behavior

>>> pprint.pprint(int(1e9))
1_000_000_000

Wikipedia tells me that "groups of 3" is the international standard to be followed here [1][2]

[1] https://en.wikipedia.org/wiki/ISO_31-0#Numbers
[2] https://en.wikipedia.org/wiki/Decimal_separator#Digit_grouping
History
Date User Action Args
2021-01-12 23:21:21fovsetrecipients: + fov
2021-01-12 23:21:21fovsetmessageid: <1610493681.29.0.683565759752.issue42914@roundup.psfhosted.org>
2021-01-12 23:21:21fovlinkissue42914 messages
2021-01-12 23:21:21fovcreate