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, domdfcoding, eric.smith, mark.dickinson, rhettinger, serhiy.storchaka, vstinner
Date 2021-03-29.22:24:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617056692.32.0.0863086282745.issue43624@roundup.psfhosted.org>
In-reply-to
Content
Current behavior:

>>> format(1234.1234, '_f')
'1_234.123400'
>>> format(1234.1234, ',f')
'1,234.123400'

New behavior:
>>> format(1234.1234, ',._f')
'1,234.123_400'
>>> format(1234.1234, '_._f')
'1_234.123_400'
>>> format(1234.1234, '._f')
'1234.123_400'
>>> format(1234.1234, '._4f')
'1234.123_4'
>>> format(1234.1234, '.f')  # still not allowed
'1234.123_4'
>>> format(1234.1234, '_.f')  # still not allowed
History
Date User Action Args
2021-03-29 22:24:52Terry Davissetrecipients: + Terry Davis, rhettinger, mark.dickinson, vstinner, eric.smith, serhiy.storchaka, domdfcoding
2021-03-29 22:24:52Terry Davissetmessageid: <1617056692.32.0.0863086282745.issue43624@roundup.psfhosted.org>
2021-03-29 22:24:52Terry Davislinkissue43624 messages
2021-03-29 22:24:52Terry Daviscreate