| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Interesting indeed!
Sorry, something went wrong.
|
Thanks @mdboom for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
GH-94882 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…gits is provided (pythonGH-94860) (cherry picked from commit 625ba9b) Co-authored-by: Michael Droettboom <mdboom@gmail.com>
|
Thanks @mdboom for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
Sorry, @mdboom and @brandtbucher, I could not cleanly backport this to 3.11 due to a conflict. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is an interesting corner case.
By default round returns int which can't represent non-finite numbers, so it throws various exceptions.
When ndigits is provided, round returns float, so non-finite numbers can be represented, and they just return what was passed in.
Automerge-Triggered-By: GH:brandtbucher