commit | 895c9c1d438367722f74f437fda96767d770662b | [log] [tgz] |
---|---|---|
author | Mark Dickinson <mdickinson@enthought.com> | Fri May 29 14:23:57 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri May 29 14:23:57 2020 +0100 |
tree | 8b4a46c98dda92716458b5d2f24ea907b736e577 | |
parent | 28316422124206f63ddd4b91f2e19c54b6e9cd9d [diff] |
bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros (GH-20435) * Fix failure of _Py_dg_dtoa to remove trailing zeros * Add regression test and news entry * Add explanation about why it's safe to strip trailing zeros * Make code safer, clean up comments, add change note at top of file * Nitpick: avoid implicit int-to-float conversion in tests