-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
bpo-40455: Remove gcc10 warning about x_digits #19852
Conversation
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.
The approach looks good to me, but there's a logic error to fix. I'm a little bit disturbed that we didn't get more test failures here.
When you're done making the requested changes, leave the comment: |
Thank you for the review and for catching the missed thing :) |
Thanks for making the requested changes! @mdickinson: please review the changes made to this pull request. |
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! Thank you.
@vstinner Since I am still in the mentoring period, I will merge this after your confirm :) |
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.
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.
My main worry is that this change will initialize twice a few digits and so it would make the code less efficient. But @mdickinson approved the change, so I'm fine with it :-)
The change is correct. Initializing digits to zero cannot be wrong :-)
@corona10: Please replace |
https://bugs.python.org/issue40455