Sander Bollen <san...@sndrtj.eu> 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, it does not do so 
for formatting. Instead, it says to support `_` as thousands separator for 
formatting wherever `,` is allowed. Since `,` does work for Decimal, I have 
taken that to imply `_` should work for Decimal as well.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45708>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to