bpo-44558: Match countOf is/== treatment to c#27007
Conversation
Python impl and docstring treated these comparisons differently. Update both docstrings to reflect the behavior. This preserves the existing behaviour of the c implementation.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
|
Waiting "at least one business day" for CLA signing. |
|
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 |
|
Replaced by #27012; closing. |
|
(oops - that is for indexOf - reopening) |
…pTknl.rst Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
…pTknl.rst Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
|
I have made the requested changes; please review again (apologies if this is noise, but the box still says there is a change requested) |
|
Thanks for making the requested changes! @corona10, @serhiy-storchaka: please review the changes made to this pull request. |
|
Sorry, @Rupt and @corona10, I could not cleanly backport this to |
|
GH-27053 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 6bd3ecf) Co-authored-by: Rupert Tombs <rupert.tombs@gmail.com>
(cherry picked from commit 6bd3ecf) Co-authored-by: Rupert Tombs <rupert.tombs@gmail.com>
|
GH-27054 is a backport of this pull request to the 3.9 branch. |
…). (cherry picked from commit 6bd3ecf) Co-authored-by: Rupert Tombs <rupert.tombs@gmail.com>
|
Thank you for all the help @corona10 :-) |
The python implementation and docstrings currently treat these comparisons differently.
This change preserves the existing behaviour of the c implementation.
Add tests for cases where
isand==differ.https://bugs.python.org/issue44558