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 rhettinger
Recipients Terry Davis, domdfcoding, eric.smith, mark.dickinson, rhettinger, serhiy.storchaka, vstinner
Date 2021-03-29.15:34:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617032084.94.0.934192479595.issue43624@roundup.psfhosted.org>
In-reply-to
Content
I prefer Terry's original proposal which is backwards compatible and gives the user control over whether separator is to be applied to the fractional component.   

>>> format(12_34_56.12_34_56, '_._f')   # Whole and fractional
'123_456.123_456'
>>> format(12_34_56.12_34_56, '_.f')    # Fractional component only   
'123_456.123456'
History
Date User Action Args
2021-03-29 15:34:44rhettingersetrecipients: + rhettinger, mark.dickinson, vstinner, eric.smith, serhiy.storchaka, Terry Davis, domdfcoding
2021-03-29 15:34:44rhettingersetmessageid: <1617032084.94.0.934192479595.issue43624@roundup.psfhosted.org>
2021-03-29 15:34:44rhettingerlinkissue43624 messages
2021-03-29 15:34:44rhettingercreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.