This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, jpvincent
Date 2021-10-21.20:05:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634846725.28.0.265402498395.issue45557@roundup.psfhosted.org>
In-reply-to
Content
Please do not post screen shots. They don't work for people with vision impairments, and we can't copy and past from them, so it makes it harder for us to help you.

It looks like it works with pformat, and not pprint:

>>> pprint.pformat(10000, underscore_numbers=True)
'10_000'
>>> pprint.pprint(10000, underscore_numbers=True)
10000
History
Date User Action Args
2021-10-21 20:05:25eric.smithsetrecipients: + eric.smith, jpvincent
2021-10-21 20:05:25eric.smithsetmessageid: <1634846725.28.0.265402498395.issue45557@roundup.psfhosted.org>
2021-10-21 20:05:25eric.smithlinkissue45557 messages
2021-10-21 20:05:25eric.smithcreate