8000
None
as a valid argument for direct call of the int.__round__
#120088
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
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
:)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Thanks for the review, Nikita! |
…of the ``int.__round__`` (pythonGH-120088) (cherry picked from commit 57ad769) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Sorry, @Eclips4 and @vstinner, I could not cleanly backport this to
|
GH-120197 is a backport of this pull request to the 3.13 branch. |
I merged the change. Thanks @Eclips4! I don't think that such change deserves to be backported. It's a minor issue. While @serhiy-storchaka disagrees with the change: #120080 (comment), IMO it makes the code more consistent. With this change, Note: I would prefer to have Internally, |
|
The tests can be decorated with |
…of the ``int.__round__`` (python#120088) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…of the ``int.__round__`` (python#120088) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
int.__round__(None)
is not supported #120080