Sander Bollen added the comment:
Thanks for looking into this so swiftly!
As a user, I have found PEP515 to be worded a little ambiguously with regards
to formatting using underscores as thousands separators. While it enumerates a
collection of types as far as the constructor is concerned
New submission from Sander Bollen :
Hello,
It appears that Decimal does not support PEP-515 style formatting with
underscores as thousands separators.
```
>>> from decimal import Decimal
>>> f"{Decimal('5000'):,}"
'5,000'
>>> f"