gh-67565: remove redundant C-contiguity checks#105521
Conversation
Sorry, something went wrong.
|
It looks like the original old Stefan's patch. But currently most functions use Argument Clinic which copied a code from getargs.c, so now there are a lot of |
Sorry, something went wrong.
|
@ericsnowcurrently Thank you very much for your valuable feedbacks. I've made some changes. Can you review it again? |
Sorry, something went wrong.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM. I have minor suggestion for tests.
Since this PR adds new tests, I think that it is better to split it on two parts:
- Tests only. This change will be backported to 3.12 and 3.11 to avoid regressions.
- Other changes. So we can be sure that they do not affect the user code.
Sorry, something went wrong.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
|
Thank you for your contribution, Furkan. It took a long time because I wasn't sure it was completely safe. But I hope the new tests will catch the bug if we are wrong. |
Sorry, something went wrong.
Co-authored-by: Stefan Krah <skrah@bytereef.org>
Co-authored-by: Stefan Krah <skrah@bytereef.org>
edited by bedevere-bot
LoadingUh oh!
There was an error while loading. Please reload this page.
Copy link Copy MarkdownSorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.