GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — GH-94808: Cover `PyOS_mystrnicmp` and `PyOS_mystricmp` by artemmukhin · Pull Request #102469 · python/cpython Conversation
|
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm not sure who is best positioned to review this, but maybe @corona10 could take a look? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Okay, I will take a look by this weekend :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@corona10 Thank you! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Would you like to separate the file into Modules/_testcapi/pyos.c
likewise https://github.com/python/cpython/blob/main/Modules/_testcapi/float.c ?
The test itself looks good.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I have made the requested changes; please review again. @corona10 Thank you for the review! I've separated the tests. Although I haven't managed to run the tests from |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for making the requested changes! @corona10: please review the changes made to this pull request. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've found out that the tests were not executed because of the wrong naming.
cpython/Lib/test/test_capi/test_misc.py Lines 1422 to 1425 in ced13c9
It is mentioned in the C API Tests paragraph to some extent:
But at first reading, I got confused because in cpython/Modules/_testcapi/float.c Lines 84 to 88 in 534660f
However, in contrast to my tests, these test methods are actually executed through cpython/Lib/test/test_float.py Lines 1516 to 1519 in 534660f
I hope this investigation might help other first-time contributors. @corona10 If you think it would be helpful to clarify this point in the devguide, please let me know, and I'll be happy to open a corresponding PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
AFAIK, those things are intended. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
But I want to listen to the opinion of @erlend-aasland for this testing structure.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@erlend-aasland could you please take a look? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thank you! Cc @corona10 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.