Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-120080: AcceptNone as a valid argument for direct call of theint.__round__#120088
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
:)
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Thanks for the review, Nikita! |
…of the ``int.__round__`` (pythonGH-120088)(cherry picked from commit57ad769)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 the3.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>
Uh oh!
There was an error while loading.Please reload this page.
int.__round__(None)is not supported #120080