René's URL Explorer Experiment


Title: Re-use joinpath logic in Traversable and MultiplexedPath by jaraco · Pull Request #250 · python/importlib_resources · GitHub

Open Graph Title: Re-use joinpath logic in Traversable and MultiplexedPath by jaraco · Pull Request #250 · python/importlib_resources

X Title: Re-use joinpath logic in Traversable and MultiplexedPath by jaraco · Pull Request #250 · python/importlib_resources

Description: Inspired by #248 (comment) Inline the flattening of descendants. Move ResourceContainer.joinpath to Traversable.joinpath, providing a concrete implementation. Refactor to converge descendants to a single type and rely on Path.parts for getting the parts. Replace StopIteration with a TraversalError for use in capturing a failed traversal. In readers.MultiplexedPath, re-use Traversable.joinpath.

Open Graph Description: Inspired by #248 (comment) Inline the flattening of descendants. Move ResourceContainer.joinpath to Traversable.joinpath, providing a concrete implementation. Refactor to converge descendants to a...

X Description: Inspired by #248 (comment) Inline the flattening of descendants. Move ResourceContainer.joinpath to Traversable.joinpath, providing a concrete implementation. Refactor to converge descendants to a...

Opengraph URL: https://github.com/python/importlib_resources/pull/250

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:ebf7077c-d34c-a36b-62e5-95bb4e39166d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE996:4D1C6:2B53F15:3B33763:6B005914
html-safe-nonce516cadef96a0578fd0e7003891638b53e70e083a4f7ddc172cf239ec19ff3331
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTk2OjREMUM2OjJCNTNGMTU6M0IzMzc2Mzo2QjAwNTkxNCIsInZpc2l0b3JfaWQiOiI4MjI1MzI3NTkxNjA3Nzg1NzQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccd13885db1037c3511018d0609f83a8c017e2fefa38cb12986b879a27d813c16
hovercard-subject-tagpull_request:911572711
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/importlib_resources/pull/250/files
twitter:imagehttps://avatars.githubusercontent.com/u/308610?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/308610?s=400&v=4
og:image:altInspired by #248 (comment) Inline the flattening of descendants. Move ResourceContainer.joinpath to Traversable.joinpath, providing a concrete implementation. Refactor to converge descendants to a...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/importlib_resources git https://github.com/python/importlib_resources.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id306147182
octolytics-dimension-repository_nwopython/importlib_resources
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id306147182
octolytics-dimension-repository_network_root_nwopython/importlib_resources
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/importlib_resources/pull/250/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fimportlib_resources%2Fpull%2F250%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%2Fimportlib_resources%2Fpull%2F250%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%2Fimportlib_resources
Reloadhttps://github.com/python/importlib_resources/pull/250/files
Reloadhttps://github.com/python/importlib_resources/pull/250/files
Reloadhttps://github.com/python/importlib_resources/pull/250/files
pythonhttps://github.com/python
importlib_resourceshttps://github.com/python/importlib_resources
Codehttps://github.com/python/importlib_resources
Issues5 (5)https://github.com/python/importlib_resources/issues
Pull requests7 (7)https://github.com/python/importlib_resources/pulls
Actionshttps://github.com/python/importlib_resources/actions
Projectshttps://github.com/python/importlib_resources/projects
Security and qualityhttps://github.com/python/importlib_resources/security
Insightshttps://github.com/python/importlib_resources/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fimportlib_resources%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fimportlib_resources%2Fissues%2Fnew%2Fchoose
jaracohttps://github.com/jaraco
mainhttps://github.com/python/importlib_resources/tree/main
bugfix/MultiplexedPath-descendantshttps://github.com/python/importlib_resources/tree/bugfix/MultiplexedPath-descendants
Conversation 7 https://github.com/python/importlib_resources/pull/250
Commits 9 https://github.com/python/importlib_resources/pull/250/commits
Checks 0 https://github.com/python/importlib_resources/pull/250/checks
Files changed https://github.com/python/importlib_resources/pull/250/files
Please reload this pagehttps://github.com/python/importlib_resources/pull/250/files
Re-use joinpath logic in Traversable and MultiplexedPath https://github.com/python/importlib_resources/pull/250/files#top
Show all changes 9 commits https://github.com/python/importlib_resources/pull/250/files
e396423 Inline the flattening of descendants. jaraco Apr 17, 2022 https://github.com/python/importlib_resources/pull/250/commits/e39642364b5fff461b719e435d69374568ebcd3b
df36958 Move ResourceContainer.joinpath to Traversable.joinpath, providing a … jaraco Apr 17, 2022 https://github.com/python/importlib_resources/pull/250/commits/df36958ed2ce587ad583f8d8d65b4670665e6050
b923ce2 Refactor to converge descendants to a single type and rely on Path.pa… jaraco Apr 17, 2022 https://github.com/python/importlib_resources/pull/250/commits/b923ce204247f6f0fd277243e08faf1238593bf9
c3cefa6 Replace StopIteration with a TraversalError for use in capturing a fa… jaraco Apr 17, 2022 https://github.com/python/importlib_resources/pull/250/commits/c3cefa6100eeef0e40ca570d74585fe9d02d1e53
6440323 In readers.MultiplexedPath, re-use Traversable.joinpath. jaraco Apr 17, 2022 https://github.com/python/importlib_resources/pull/250/commits/64403234fdbc3b9df60a57ff1ee76778a03a83b4
075b6ce Add test for empty joinpath. jaraco Apr 18, 2022 https://github.com/python/importlib_resources/pull/250/commits/075b6ceab4b926e78721b614b34e4f1c8bb72758
0140430 Leave this behavior uncovered. jaraco Apr 18, 2022 https://github.com/python/importlib_resources/pull/250/commits/0140430e80c8adbdfb148510e219051fefa86730
643caba Separate match resolution from recursive join. jaraco Jun 16, 2022 https://github.com/python/importlib_resources/pull/250/commits/643caba9f150fd1a9175560338f63d91dedfd454
1def9a2 Update changelog jaraco Jun 16, 2022 https://github.com/python/importlib_resources/pull/250/commits/1def9a2cba956d00fb20b3dd2feb4a8878047a21
Clear filters https://github.com/python/importlib_resources/pull/250/files
Please reload this pagehttps://github.com/python/importlib_resources/pull/250/files
Please reload this pagehttps://github.com/python/importlib_resources/pull/250/files
CHANGES.rst https://github.com/python/importlib_resources/pull/250/files#diff-ff3c479edefad986d2fe6fe7ead575a46b086e3bbcf0ccc86d85efc4a4c63c79
abc.py https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
readers.py https://github.com/python/importlib_resources/pull/250/files#diff-811ea42dba2528e9a6cbedc91e993dc2a9d4b65626ad364c6ded7b03e0d0a1fa
simple.py https://github.com/python/importlib_resources/pull/250/files#diff-8450e5a7408c175083d3bd549d279e9dfb23eb118e6515a51a483021520c450f
test_reader.py https://github.com/python/importlib_resources/pull/250/files#diff-0503b5b565b94cb186e533fd8971580b9b3a1039b3846bd78dd1dcafeee8f368
CHANGES.rsthttps://github.com/python/importlib_resources/pull/250/files#diff-ff3c479edefad986d2fe6fe7ead575a46b086e3bbcf0ccc86d85efc4a4c63c79
View file https://github.com/python/importlib_resources/blob/1def9a2cba956d00fb20b3dd2feb4a8878047a21/CHANGES.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/importlib_resources/pull/250/{{ revealButtonHref }}
https://github.com/python/importlib_resources/pull/250/files#diff-ff3c479edefad986d2fe6fe7ead575a46b086e3bbcf0ccc86d85efc4a4c63c79
importlib_resources/abc.pyhttps://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
View file https://github.com/python/importlib_resources/blob/1def9a2cba956d00fb20b3dd2feb4a8878047a21/importlib_resources/abc.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/importlib_resources/pull/250/{{ revealButtonHref }}
https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
FFY00https://github.com/FFY00
Apr 18, 2022https://github.com/python/importlib_resources/pull/250/files#r851845366
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/importlib_resources/pull/250/files
jaracohttps://github.com/jaraco
Jun 13, 2022https://github.com/python/importlib_resources/pull/250/files#r896121864
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/importlib_resources/pull/250/files
FFY00https://github.com/FFY00
Jun 13, 2022https://github.com/python/importlib_resources/pull/250/files#r896234012
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/importlib_resources/pull/250/files
https://github.com/python/importlib_resources/pull/250/files#diff-2fe0384dfad237dd102fe1f28694c181e4d0b24020d6d6f02d5720dd5bf71891
importlib_resources/readers.pyhttps://github.com/python/importlib_resources/pull/250/files#diff-811ea42dba2528e9a6cbedc91e993dc2a9d4b65626ad364c6ded7b03e0d0a1fa
View file https://github.com/python/importlib_resources/blob/1def9a2cba956d00fb20b3dd2feb4a8878047a21/importlib_resources/readers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/importlib_resources/pull/250/{{ revealButtonHref }}
https://github.com/python/importlib_resources/pull/250/files#diff-811ea42dba2528e9a6cbedc91e993dc2a9d4b65626ad364c6ded7b03e0d0a1fa
https://github.com/python/importlib_resources/pull/250/files#diff-811ea42dba2528e9a6cbedc91e993dc2a9d4b65626ad364c6ded7b03e0d0a1fa
importlib_resources/simple.pyhttps://github.com/python/importlib_resources/pull/250/files#diff-8450e5a7408c175083d3bd549d279e9dfb23eb118e6515a51a483021520c450f
View file https://github.com/python/importlib_resources/blob/1def9a2cba956d00fb20b3dd2feb4a8878047a21/importlib_resources/simple.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/importlib_resources/pull/250/{{ revealButtonHref }}
https://github.com/python/importlib_resources/pull/250/files#diff-8450e5a7408c175083d3bd549d279e9dfb23eb118e6515a51a483021520c450f
https://github.com/python/importlib_resources/pull/250/files#diff-8450e5a7408c175083d3bd549d279e9dfb23eb118e6515a51a483021520c450f
importlib_resources/tests/test_reader.pyhttps://github.com/python/importlib_resources/pull/250/files#diff-0503b5b565b94cb186e533fd8971580b9b3a1039b3846bd78dd1dcafeee8f368
View file https://github.com/python/importlib_resources/blob/1def9a2cba956d00fb20b3dd2feb4a8878047a21/importlib_resources/tests/test_reader.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/importlib_resources/pull/250/{{ revealButtonHref }}
https://github.com/python/importlib_resources/pull/250/files#diff-0503b5b565b94cb186e533fd8971580b9b3a1039b3846bd78dd1dcafeee8f368
https://github.com/python/importlib_resources/pull/250/files#diff-0503b5b565b94cb186e533fd8971580b9b3a1039b3846bd78dd1dcafeee8f368
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.