bpo-40455: Remove gcc10 warning about x_digits#19852
Conversation
mdickinson
left a comment
There was a problem hiding this comment.
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. |
|
@vstinner Since I am still in the mentoring period, I will merge this after your confirm :) |
vstinner
left a comment
There was a problem hiding this comment.
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