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 Terry Davis
Recipients Terry Davis
Date 2021-03-25.17:19:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616692747.49.0.677529428018.issue43624@roundup.psfhosted.org>
In-reply-to
Content
Proposal:
Enable this
>>> format(12_34_56.12_34_56, '_._f')
'123_456.123_456'

Where now only this is possible
>>> format(12_34_56.12_34_56, '_.f')
'123_456.123456'


Based on the discussion in the Ideas forum, three core devs support this addition.
https://discuss.python.org/t/add-underscore-as-a-thousandths-separator-for-string-formatting/7407

I'm willing to give this a try if someone points me to where to add tests and where the float formatting code is. This would be my first CPython contribution.

The feature freeze for 3.10 is 2021-05-03.
https://www.python.org/dev/peps/pep-0619/#id5
History
Date User Action Args
2021-03-25 17:19:07Terry Davissetrecipients: + Terry Davis
2021-03-25 17:19:07Terry Davissetmessageid: <1616692747.49.0.677529428018.issue43624@roundup.psfhosted.org>
2021-03-25 17:19:07Terry Davislinkissue43624 messages
2021-03-25 17:19:05Terry Daviscreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.