[issue45708] PEP 515-style formatting with underscores does not seem to work for Decimal

Mark Dickinson report at bugs.python.org
Thu Nov 4 13:14:58 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

> whether Decimal should extend beyond the specification in this case

We already go way beyond the original specification for string formatting. The spec doesn't go further than specifying to-scientific-string and to-engineering-string, neither of which even get into limiting precision.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45708>
_______________________________________


More information about the Python-bugs-list mailing list