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 Another One
Recipients Another One
Date 2020-02-06.12:56:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580993785.28.0.694930470564.issue39568@roundup.psfhosted.org>
In-reply-to
Content
Example for binary representation:

>>> x = 123456
>>> print("{:,b}".format(x))
Traceback (most recent call last):
  File "<pyshell#261>", line 1, in <module>
    print("{:,b}".format(x))
ValueError: Cannot specify ',' with 'b'.

Why? Comma work only with decimals?

But '_' groups delimiter properly work with any integer representation including decimals, hexadecimals, binaries, octals, etc..
History
Date User Action Args
2020-02-06 12:56:25Another Onesetrecipients: + Another One
2020-02-06 12:56:25Another Onesetmessageid: <1580993785.28.0.694930470564.issue39568@roundup.psfhosted.org>
2020-02-06 12:56:25Another Onelinkissue39568 messages
2020-02-06 12:56:25Another Onecreate