[issue42429] Behavior of general (%g, :g) formatting inconsistent for decimal.Decimal

Mark Dickinson report at bugs.python.org
Mon Nov 23 12:24:07 EST 2020


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

Some references after a bit of tracker digging:

- #7098 is the original issue where the behaviour was considered.
- #23460 is related, and _did_ result in a documentation change, but that documentation change didn't say anything about preserving trailing zeros
- #13433 is relevant, and still open

So I think we're still missing a documentation update.

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python
versions: +Python 3.10, Python 3.8

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


More information about the Python-bugs-list mailing list