René's URL Explorer Experiment


Title: gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover by FFY00 · Pull Request #139900 · python/cpython · GitHub

Open Graph Title: gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover by FFY00 · Pull Request #139900 · python/cpython

X Title: gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover by FFY00 · Pull Request #139900 · python/cpython

Description: Issue: gh-139899 📚 Documentation preview 📚: https://cpython-previews--139900.org.readthedocs.build/

Open Graph Description: Issue: gh-139899 📚 Documentation preview 📚: https://cpython-previews--139900.org.readthedocs.build/

X Description: Issue: gh-139899 📚 Documentation preview 📚: https://cpython-previews--139900.org.readthedocs.build/

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9d8a3696-c5dd-635b-c792-57981eff3716
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9468:399E4B:3957F93:4C0EC07:6B020E43
html-safe-noncebfb5b0b634ea93f0b2f19db3569a66f3e52938f987605b75a650661affb2780c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDY4OjM5OUU0QjozOTU3RjkzOjRDMEVDMDc6NkIwMjBFNDMiLCJ2aXNpdG9yX2lkIjoiMTYyNDY5NTgyMzg4OTczMTEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac30a9b010b1f791875f041d23847bf3ee31f00eb4a63f810ee0d964d2d6f61e39
hovercard-subject-tagpull_request:2903944817
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/139900/files
twitter:imagehttps://avatars.githubusercontent.com/u/11718923?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11718923?s=400&v=4
og:image:altIssue: gh-139899 📚 Documentation preview 📚: https://cpython-previews--139900.org.readthedocs.build/
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/python/cpython/pull/139900/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139900%2Ffiles
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%2F139900%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/139900/files
Reloadhttps://github.com/python/cpython/pull/139900/files
Reloadhttps://github.com/python/cpython/pull/139900/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
FFY00https://github.com/FFY00
python:mainhttps://github.com/python/cpython/tree/main
FFY00:gh-139899https://github.com/FFY00/cpython/tree/gh-139899
Conversation 18 https://github.com/python/cpython/pull/139900
Commits 15 https://github.com/python/cpython/pull/139900/commits
Checks 45 https://github.com/python/cpython/pull/139900/checks
Files changed https://github.com/python/cpython/pull/139900/files
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover https://github.com/python/cpython/pull/139900/files#top
Show all changes 15 commits https://github.com/python/cpython/pull/139900/files
8099249 gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.disc… FFY00 Oct 10, 2025 https://github.com/python/cpython/pull/139900/commits/809924990e41ae6daf68384210a6f0f9ace1a283
6816705 Fix doc reference FFY00 Dec 10, 2025 https://github.com/python/cpython/pull/139900/commits/6816705de0c2c6cd7289f405c5e11cbf13e4930e
31d1a8f Remove specific doc references FFY00 Dec 10, 2025 https://github.com/python/cpython/pull/139900/commits/31d1a8f5510e0f7a53016c7120ea2e1bda46e60c
051cd1e Fix docstrings FFY00 Dec 10, 2025 https://github.com/python/cpython/pull/139900/commits/051cd1e5cf99af1ca42610306351955b7601e0cc
c343d32 Revert "Remove specific doc references" FFY00 Dec 10, 2025 https://github.com/python/cpython/pull/139900/commits/c343d328b90068df086b3482c498130fff305b82
a324d96 Fix news references FFY00 Dec 10, 2025 https://github.com/python/cpython/pull/139900/commits/a324d96647735f19b97656b8f757f14ca78e1e82
dc6faa2 Add docs warning FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/dc6faa23360b749a8b146a4e95ca90851d3eeaf1
3be757f Raise ValueError on invalid parent FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/3be757f44533809df1d770fc41a0728f42438711
0da477f Dedupe __path__ in PathFinder.discover FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/0da477fabc65446298794185232f2804bac69c07
282bef7 Use context manager and add error handling to os.scandir FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/282bef7f8e95d0f4d0d02793c504d4b1758fb709
469dc2a Raise ValueError on invalid parent FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/469dc2a58daebc96436f414b4ea2a221e39150a5
c09a12e Dedupe when package exists with multiple suffixes FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/c09a12ecf9ca5d80953293051c24a0e9fac2f0df
41cd071 Apply suggestions from code review FFY00 Jan 20, 2026 https://github.com/python/cpython/pull/139900/commits/41cd071cfb1dc33d548e6b41b0f8876d20854ee4
5488e93 Add tests FFY00 Jan 22, 2026 https://github.com/python/cpython/pull/139900/commits/5488e93c319837330699e10b94f62f2ec38823ec
fc1de5f Merge branch 'main' into gh-139899 brettcannon Feb 5, 2026 https://github.com/python/cpython/pull/139900/commits/fc1de5f4119e7584a1fb1ad8bad37d96acfa28d3
Clear filters https://github.com/python/cpython/pull/139900/files
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
importlib.rst https://github.com/python/cpython/pull/139900/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e
_bootstrap_external.py https://github.com/python/cpython/pull/139900/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
abc.py https://github.com/python/cpython/pull/139900/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
test_discover.py https://github.com/python/cpython/pull/139900/files#diff-9d878bbac4e052631a9413934a9d7f74f4e1e34dcb9c062befe58b1af2739484
2025-10-10-14-08-58.gh-issue-139899.09leRY.rst https://github.com/python/cpython/pull/139900/files#diff-c2b12f42cf3bab54e981306e8b38f917938db31cd3d187c65d9730f79ac5a696
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L261
Doc/library/importlib.rsthttps://github.com/python/cpython/pull/139900/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e
View file https://github.com/FFY00/cpython/blob/fc1de5f4119e7584a1fb1ad8bad37d96acfa28d3/Doc/library/importlib.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/139900/{{ revealButtonHref }}
https://github.com/python/cpython/pull/139900/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e
gpsheadhttps://github.com/gpshead
Dec 13, 2025https://github.com/python/cpython/pull/139900/files#r2616540563
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
FFY00https://github.com/FFY00
Dec 17, 2025https://github.com/python/cpython/pull/139900/files#r2627325334
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
ncoghlanhttps://github.com/ncoghlan
Jan 1, 2026https://github.com/python/cpython/pull/139900/files#r2656416224
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
importlib.resources.contentshttps://docs.python.org/3/library/importlib.resources.html#importlib.resources.contents
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
https://github.com/python/cpython/pull/139900/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e
https://github.com/python/cpython/pull/139900/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e
https://github.com/python/cpython/pull/139900/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L261
Lib/importlib/_bootstrap_external.pyhttps://github.com/python/cpython/pull/139900/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
View file https://github.com/FFY00/cpython/blob/fc1de5f4119e7584a1fb1ad8bad37d96acfa28d3/Lib/importlib/_bootstrap_external.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/139900/{{ revealButtonHref }}
https://github.com/python/cpython/pull/139900/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
gpsheadhttps://github.com/gpshead
Dec 13, 2025https://github.com/python/cpython/pull/139900/files#r2616533493
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
FFY00https://github.com/FFY00
Dec 17, 2025https://github.com/python/cpython/pull/139900/files#r2627247079
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
ncoghlanhttps://github.com/ncoghlan
Jan 1, 2026https://github.com/python/cpython/pull/139900/files#r2656420194
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
https://github.com/python/cpython/pull/139900/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
https://github.com/python/cpython/pull/139900/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
https://github.com/python/cpython/pull/139900/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L261
Lib/importlib/abc.pyhttps://github.com/python/cpython/pull/139900/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
View file https://github.com/FFY00/cpython/blob/fc1de5f4119e7584a1fb1ad8bad37d96acfa28d3/Lib/importlib/abc.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/139900/{{ revealButtonHref }}
https://github.com/python/cpython/pull/139900/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
https://github.com/python/cpython/pull/139900/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
https://github.com/python/cpython/pull/139900/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L261
Lib/test/test_importlib/test_discover.pyhttps://github.com/python/cpython/pull/139900/files#diff-9d878bbac4e052631a9413934a9d7f74f4e1e34dcb9c062befe58b1af2739484
View file https://github.com/FFY00/cpython/blob/fc1de5f4119e7584a1fb1ad8bad37d96acfa28d3/Lib/test/test_importlib/test_discover.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/139900/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2025-10-10-14-08-58.gh-issue-139899.09leRY.rsthttps://github.com/python/cpython/pull/139900/files#diff-c2b12f42cf3bab54e981306e8b38f917938db31cd3d187c65d9730f79ac5a696
View file https://github.com/FFY00/cpython/blob/fc1de5f4119e7584a1fb1ad8bad37d96acfa28d3/Misc/NEWS.d/next/Library/2025-10-10-14-08-58.gh-issue-139899.09leRY.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/139900/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/139900/files
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.