-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-111417: Remove unused code block in math.trunc() and builtin_round_impl #111454
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
Conversation
I suggest adding some text explaining reasons for removal. Either in the commit message or in the pr description (which may become a commit message). |
Misc/NEWS.d/next/Library/2023-10-29-11-51-04.gh-issue-111417.LkmWKc.rst
Outdated
Show resolved
Hide resolved
@serhiy-storchaka sorry for asking but any thoughts? |
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.
As I have said on the issue, this change looks safe to me. Do you mind to remove also a similar code in round()
?
Misc/NEWS.d/next/Library/2023-10-29-11-51-04.gh-issue-111417.LkmWKc.rst
Outdated
Show resolved
Hide resolved
3048741
to
9716a15
Compare
Sorry for the delay, I've made the updates. @serhiy-storchaka |
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.
LGTM.
…pythonGH-111454) _PyObject_LookupSpecial() now ensures that the type is ready.
…pythonGH-111454) _PyObject_LookupSpecial() now ensures that the type is ready.
Remove unused code block in
math.trunc()
andbuiltin_round_impl
as mentioned in #111417