Skip to content

[3.9] bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros (GH-20435) - #20514

Merged
mdickinson merged 1 commit into
python:3.9from
miss-islington:backport-895c9c1-3.9
May 29, 2020
Merged

mdickinson merged 1 commit into
python:3.9from
miss-islington:backport-895c9c1-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented May 29, 2020 •

Copy link
Copy Markdown
Contributor
  • 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
    (cherry picked from commit 895c9c1)

Co-authored-by: Mark Dickinson mdickinson@enthought.com

https://bugs.python.org/issue40780

…nGH-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
(cherry picked from commit 895c9c1)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@mdickinson: Status check is done, and it's a success ✅ .

@mdickinson
mdickinson merged commit ad088ca into python:3.9 May 29, 2020
@miss-islington
miss-islington deleted the backport-895c9c1-3.9 branch May 29, 2020 13:47
@miss-islington

Copy link
Copy Markdown
Contributor Author

@mdickinson: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@mdickinson: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants