René's URL Explorer Experiment


Title: gh-160501: Test `adaptive_find` in `fastsearch.h` for all string kinds by scrieve · Pull Request #160502 · python/cpython · GitHub

Open Graph Title: gh-160501: Test `adaptive_find` in `fastsearch.h` for all string kinds by scrieve · Pull Request #160502 · python/cpython

X Title: gh-160501: Test `adaptive_find` in `fastsearch.h` for all string kinds by scrieve · Pull Request #160502 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: adaptive_find in Objects/stringlib/fastsearch.h is compiled once per character width. The only test that reached the adaptive branch built its strings from 'a' and 'b', so the 2-byt...

X Description: adaptive_find in Objects/stringlib/fastsearch.h is compiled once per character width. The only test that reached the adaptive branch built its strings from 'a' and 'b&#3...

Opengraph URL: https://github.com/python/cpython/pull/160502

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4f7e0364-e897-a4d9-4be5-a7d13ad07fbf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B7E:39B9E6:3F9543:537E6E:6B023A73
html-safe-nonce9c5b25f4f032648e3d6920b33902205ea29c901b31321b91a72c0222b18fbe7a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjdFOjM5QjlFNjozRjk1NDM6NTM3RTZFOjZCMDIzQTczIiwidmlzaXRvcl9pZCI6IjUyMDc4NDA1ODA1NTc3NDg4NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5644e113f591d79ec4c2a144f8f2ef2a6f2adf199dcf9179a976fefcdce950b6
hovercard-subject-tagpull_request:4989062952
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/160502/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7167d9d96de8be4117e637924216d3d183b2c4ef945a9f2c1c689f268078eff0/python/cpython/pull/160502
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7167d9d96de8be4117e637924216d3d183b2c4ef945a9f2c1c689f268078eff0/python/cpython/pull/160502
og:image:altadaptive_find in Objects/stringlib/fastsearch.h is compiled once per character width. The only test that reached the adaptive branch built its strings from 'a' and 'b', so the 2-byt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamescrieve
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/160502#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160502
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160502
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/160502
Reloadhttps://github.com/python/cpython/pull/160502
Reloadhttps://github.com/python/cpython/pull/160502
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
StanFromIrelandhttps://github.com/StanFromIreland
python:mainhttps://github.com/python/cpython/tree/main
scrieve:gh-160501-adaptive-ucs4https://github.com/scrieve/cpython/tree/gh-160501-adaptive-ucs4
Conversationhttps://github.com/python/cpython/pull/160502
Commits3 (3)https://github.com/python/cpython/pull/160502/commits
Checkshttps://github.com/python/cpython/pull/160502/checks
Files changedhttps://github.com/python/cpython/pull/160502/files
gh-160501: Test adaptive_find in fastsearch.h for all string kindshttps://github.com/python/cpython/pull/160502#top
StanFromIrelandhttps://github.com/StanFromIreland
python:mainhttps://github.com/python/cpython/tree/main
scrieve:gh-160501-adaptive-ucs4https://github.com/scrieve/cpython/tree/gh-160501-adaptive-ucs4
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 23, 2026https://github.com/python/cpython/pull/160502#issue-6005216748
Please reload this pagehttps://github.com/python/cpython/pull/160502
test_str: the UCS4 adaptive search path is never exercised #160501https://github.com/python/cpython/issues/160501
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Oct 23, 2026https://github.com/python/cpython/pull/160502#event-34090613456
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 23, 2026 https://github.com/python/cpython/pull/160502#ref-issue-6005212469
test_str: the UCS4 adaptive search path is never exercised #160501 https://github.com/python/cpython/issues/160501
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 23, 2026https://github.com/python/cpython/pull/160502#issuecomment-6374430850
require a NEWS entryhttps://devguide.python.org/getting-started/pull-request-lifecycle/#news-entry
blurb_ithttps://blurb-it.python.org
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Oct 23, 2026https://github.com/python/cpython/pull/160502#event-34090829048
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 23, 2026https://github.com/python/cpython/pull/160502#issuecomment-6374559168
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 26, 2026https://github.com/python/cpython/pull/160502#issuecomment-6429061980
gh-160334https://github.com/python/cpython/issues/160334
gh-154194https://github.com/python/cpython/issues/154194
gh-160542https://github.com/python/cpython/pull/160542
gh-160542https://github.com/python/cpython/pull/160542
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
force-pushedhttps://github.com/python/cpython/compare/39f86f253866adfa930082c9dd96055a3516f2f7..99dda960ef1e4d2d265c2529a6f4dd36a553e18b
39f86f2https://github.com/python/cpython/commit/39f86f253866adfa930082c9dd96055a3516f2f7
99dda96https://github.com/python/cpython/commit/99dda960ef1e4d2d265c2529a6f4dd36a553e18b
Compare https://github.com/python/cpython/compare/39f86f253866adfa930082c9dd96055a3516f2f7..99dda960ef1e4d2d265c2529a6f4dd36a553e18b
October 28, 2026 07:32https://github.com/python/cpython/pull/160502#event-34449353080
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Oct 28, 2026https://github.com/python/cpython/pull/160502#issuecomment-6463346759
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
force-pushedhttps://github.com/python/cpython/compare/99dda960ef1e4d2d265c2529a6f4dd36a553e18b..8bc75f0d7e290161971bea32db773971af592d3f
99dda96https://github.com/python/cpython/commit/99dda960ef1e4d2d265c2529a6f4dd36a553e18b
8bc75f0https://github.com/python/cpython/commit/8bc75f0d7e290161971bea32db773971af592d3f
Compare https://github.com/python/cpython/compare/99dda960ef1e4d2d265c2529a6f4dd36a553e18b..8bc75f0d7e290161971bea32db773971af592d3f
October 28, 2026 07:32https://github.com/python/cpython/pull/160502#event-34449382938
https://github.com/scrieve
pythongh-160501https://github.com/python/cpython/issues/160501
: Cover the UCS4 adaptive search path in test_strhttps://github.com/python/cpython/pull/160502/commits/477a465ba08c2517cf8ca495a452d20e2c9d52d8
477a465https://github.com/python/cpython/pull/160502/commits/477a465ba08c2517cf8ca495a452d20e2c9d52d8
https://github.com/scrieve
scrievehttps://github.com/scrieve
force-pushedhttps://github.com/python/cpython/compare/8bc75f0d7e290161971bea32db773971af592d3f..477a465ba08c2517cf8ca495a452d20e2c9d52d8
8bc75f0https://github.com/python/cpython/commit/8bc75f0d7e290161971bea32db773971af592d3f
477a465https://github.com/python/cpython/commit/477a465ba08c2517cf8ca495a452d20e2c9d52d8
Compare https://github.com/python/cpython/compare/8bc75f0d7e290161971bea32db773971af592d3f..477a465ba08c2517cf8ca495a452d20e2c9d52d8
October 28, 2026 07:40https://github.com/python/cpython/pull/160502#event-34449890968
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Oct 29, 2026 https://github.com/python/cpython/pull/160502#pullrequestreview-5700263621
View reviewed changes https://github.com/python/cpython/pull/160502/files/477a465ba08c2517cf8ca495a452d20e2c9d52d8
Lib/test/test_str.pyhttps://github.com/python/cpython/pull/160502/files/477a465ba08c2517cf8ca495a452d20e2c9d52d8#diff-8809b8b5760b4fe0fe405eed574cce8d237bda65b4b3168eed59c4d65e918d64
StanFromIrelandhttps://github.com/StanFromIreland
Oct 29, 2026https://github.com/python/cpython/pull/160502#discussion_r4414249537
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
pythongh-160501https://github.com/python/cpython/issues/160501
: Wrap the UCS4 adaptive search cases in subTesthttps://github.com/python/cpython/pull/160502/commits/fc31458dafababfd2b32eea4e9f21a689fecdfef
fc31458https://github.com/python/cpython/pull/160502/commits/fc31458dafababfd2b32eea4e9f21a689fecdfef
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6501500598
fc31458https://github.com/python/cpython/commit/fc31458dafababfd2b32eea4e9f21a689fecdfef
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
AI-needs-explanation https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AAI-needs-explanation
Oct 29, 2026https://github.com/python/cpython/pull/160502#event-34606625829
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6501895983
guidelines for using AI toolshttps://devguide.python.org/getting-started/ai-tools/index.html
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6502432927
fc31458https://github.com/python/cpython/commit/fc31458dafababfd2b32eea4e9f21a689fecdfef
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6502463329
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6505336601
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6505471621
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6505993948
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Oct 29, 2026https://github.com/python/cpython/pull/160502#issuecomment-6506030762
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
pythongh-160501https://github.com/python/cpython/issues/160501
: Cover the adaptive search path at every character widthhttps://github.com/python/cpython/pull/160502/commits/4d1e64d8e96a7101bfd5a0265b7cf230bda93212
4d1e64dhttps://github.com/python/cpython/pull/160502/commits/4d1e64d8e96a7101bfd5a0265b7cf230bda93212
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 29, 2026https://github.com/python/cpython/pull/160502#event-34628229794
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 30, 2026https://github.com/python/cpython/pull/160502#issuecomment-6518768404
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Oct 30, 2026https://github.com/python/cpython/pull/160502#issuecomment-6520763766
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
scrievehttps://github.com/scrieve
Oct 30, 2026https://github.com/python/cpython/pull/160502#issuecomment-6521244261
fc31458https://github.com/python/cpython/commit/fc31458dafababfd2b32eea4e9f21a689fecdfef
18c935fhttps://github.com/python/cpython/commit/18c935f72d5e391afda16bc45cf49b0f42bff15f
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Nov 10, 2026https://github.com/python/cpython/pull/160502#event-35732023028
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
fe1c75ehttps://github.com/python/cpython/commit/fe1c75e2efa7220141b454f356e3b1879bddafa8
Nov 10, 2026https://github.com/python/cpython/pull/160502#event-35732035035
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 10, 2026https://github.com/python/cpython/pull/160502#event-35732040956
orsenthilhttps://github.com/orsenthil
Nov 12, 2026 https://github.com/python/cpython/pull/160502#ref-commit-7e0823c
https://github.com/scrieve
https://github.com/orsenthil
pythongh-160501https://github.com/python/cpython/issues/160501
: Testhttps://github.com/orsenthil/cpython/commit/7e0823c287900e8232052d63f8ad382154b939dd
adaptive_findhttps://github.com/orsenthil/cpython/commit/7e0823c287900e8232052d63f8ad382154b939dd
inhttps://github.com/orsenthil/cpython/commit/7e0823c287900e8232052d63f8ad382154b939dd
fastsearch.hhttps://github.com/orsenthil/cpython/commit/7e0823c287900e8232052d63f8ad382154b939dd
for all strin…https://github.com/orsenthil/cpython/commit/7e0823c287900e8232052d63f8ad382154b939dd
7e0823chttps://github.com/orsenthil/cpython/commit/7e0823c287900e8232052d63f8ad382154b939dd
python#160502https://github.com/python/cpython/pull/160502
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160502
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/160502/files/477a465ba08c2517cf8ca495a452d20e2c9d52d8
Please reload this pagehttps://github.com/python/cpython/pull/160502
AI-needs-explanation https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AAI-needs-explanation
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/160502
https://github.com/scrieve
https://github.com/StanFromIreland
https://github.com/picnixz
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.