[issue43315] Decimal.__str__ has no way to force exact decimal representation

Steven D'Aprano report at bugs.python.org
Wed Feb 24 10:10:10 EST 2021


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Python 3.5 to 3.9 are all in feature freeze and can accept no new features; new features can only be added to 3.10.

But having said that, I agree with Mark that the correct solution here is to use format, not str. Szymon, unless you have a very argument against format, I think this should be closed.

----------
nosy: +steven.daprano
versions:  -Python 3.6, Python 3.7, Python 3.8, Python 3.9

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


More information about the Python-bugs-list mailing list