Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-117431: Adapt str.find and friends to use the METH_FASTCALL calling convention#117468
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
erlend-aasland merged 20 commits intopython:mainfromerlend-aasland:perf/str.find-and-friendsApr 3, 2024
+439 −217
Merged
Changes from1 commit
Commits
Show all changes
20 commits Select commitHold shift + click to select a range
c038634 Draft: adapt str.{start,end}swith to Argument Clinic
erlend-aaslanda9d3172 Revert unneeded and malformed change
erlend-aasland2ce5be6 Loosen error message tests
erlend-aasland6c95a0d NEWS
erlend-aasland0ee5a28 Adapt str.count
erlend-aaslandec4c400 Adapt str.find
erlend-aasland6f05fe6 fixup! Adapt str.find
erlend-aasland4c46570 Adapt str.index
erlend-aaslanddf08da8 Adapt str.rfind
erlend-aasland9f26ea8 Adapt str.rindex
erlend-aasland1970887 Fixup docstrings
erlend-aasland571976d Adapt NEWS
erlend-aasland154fe70 Address review: also mention str.count in the NEWS entry
erlend-aasland8fe04ae Fixup endswith signature
erlend-aasland7b02515 Merge branch 'perf/starwith' into perf/str.find-and-friends
erlend-aaslandc2ce49e Address Jelle's review: clarify default values in param docstrings
erlend-aaslandcae4c7e Merge branch 'perf/starwith' into perf/str.find-and-friends
erlend-aaslandd776fcd Pull in main
erlend-aaslande7a55a8 any_find_slice() can return -2 on error
erlend-aaslandad10cb0 Pull in main
erlend-aaslandFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Adapt str.rindex
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit9f26ea83663a9b5b51c53b40bd7f8276c595b802
There are no files selected for viewing
2 changes: 1 addition & 1 deletionLib/test/string_tests.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
58 changes: 57 additions & 1 deletionObjects/clinic/unicodeobject.c.h
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
61 changes: 15 additions & 46 deletionsObjects/unicodeobject.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.