Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 29, 2020

Conversation

miss-islington
Copy link
Contributor

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

  • 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
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
Contributor Author

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

1 similar comment
@miss-islington
Copy link
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants