René's URL Explorer Experiment


Title: bpo-42133: update parts of the stdlib to fall back to `__spec__.loader` when `__loader__` is missing by brettcannon · Pull Request #22929 · python/cpython · GitHub

Open Graph Title: bpo-42133: update parts of the stdlib to fall back to `__spec__.loader` when `__loader__` is missing by brettcannon · Pull Request #22929 · python/cpython

X Title: bpo-42133: update parts of the stdlib to fall back to `__spec__.loader` when `__loader__` is missing by brettcannon · Pull Request #22929 · python/cpython

Description: Updates to doctest, inspect, linecache, and site. https://bugs.python.org/issue42133

Open Graph Description: Updates to doctest, inspect, linecache, and site. https://bugs.python.org/issue42133

X Description: Updates to doctest, inspect, linecache, and site. https://bugs.python.org/issue42133

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5d19077f-1680-f640-3211-40bc1199fa77
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA732:A981C:ED6012:14C96C5:696A2B20
html-safe-nonce7965bc6d175aa592be794716ce63f6efb654af5fd2106dee6d7af46bbea69dca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzMyOkE5ODFDOkVENjAxMjoxNEM5NkM1OjY5NkEyQjIwIiwidmlzaXRvcl9pZCI6Ijg2MzI2NTEyMjE4MDMwODQ1NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb336d0a85cd2c4bd05890d3dfdf8a01a359dde212ae1e74d048b737ac6db9cca
hovercard-subject-tagpull_request:509262522
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/22929/files
twitter:imagehttps://avatars.githubusercontent.com/u/54418?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/54418?s=400&v=4
og:image:altUpdates to doctest, inspect, linecache, and site. https://bugs.python.org/issue42133
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
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
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/22929/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22929%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22929%2Ffiles
Sign up https://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/22929/files
Reloadhttps://github.com/python/cpython/pull/22929/files
Reloadhttps://github.com/python/cpython/pull/22929/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/22929/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/22929/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
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
brettcannonhttps://github.com/brettcannon
python:masterhttps://github.com/python/cpython/tree/master
brettcannon:loader-missinghttps://github.com/brettcannon/cpython/tree/loader-missing
Conversation 1 https://github.com/python/cpython/pull/22929
Commits 4 https://github.com/python/cpython/pull/22929/commits
Checks 0 https://github.com/python/cpython/pull/22929/checks
Files changed https://github.com/python/cpython/pull/22929/files
Please reload this pagehttps://github.com/python/cpython/pull/22929/files
bpo-42133: update parts of the stdlib to fall back to __spec__.loader when __loader__ is missing https://github.com/python/cpython/pull/22929/files#top
Show all changes 4 commits https://github.com/python/cpython/pull/22929/files
dcbcef6 bpo-42133: update parts of the stdlib to fall back to `__spec__.paren… brettcannon Oct 23, 2020 https://github.com/python/cpython/pull/22929/commits/dcbcef63af391d45fc8d87b37db1ca1c86e2867d
c0da9ec Merge branch 'master' into loader-missing brettcannon Nov 6, 2020 https://github.com/python/cpython/pull/22929/commits/c0da9ec3daf84a9cd0ae2a537982160f5fc5a734
98f300d Fix indentation brettcannon Nov 6, 2020 https://github.com/python/cpython/pull/22929/commits/98f300dfcefda37a66db2ec6454280854d4023aa
db2410d Mean to say `loader`, not `parent` brettcannon Nov 7, 2020 https://github.com/python/cpython/pull/22929/commits/db2410d9744f8be0647892a64e7922a80d11c320
Clear filters https://github.com/python/cpython/pull/22929/files
Please reload this pagehttps://github.com/python/cpython/pull/22929/files
Please reload this pagehttps://github.com/python/cpython/pull/22929/files
3.10.rst https://github.com/python/cpython/pull/22929/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
doctest.py https://github.com/python/cpython/pull/22929/files#diff-ecfd94d9d59a476cc6a2027adf6ec5468dcaaa9c8ad5c6e007ba195ce471db70
inspect.py https://github.com/python/cpython/pull/22929/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
linecache.py https://github.com/python/cpython/pull/22929/files#diff-a12aa9f6b37c73461f9566b9d36c7a8caa36b72eb964b5aaaa2dfcd30c0c118d
site.py https://github.com/python/cpython/pull/22929/files#diff-0783c435d23e776f5f679cb9c63f2ad98ad13047204562ed2408bd85aa17fd33
2020-10-23-15-47-47.bpo-42133.BzizYV.rst https://github.com/python/cpython/pull/22929/files#diff-05d41c7634c35151a7349341a0012acd20be23fe45a45ffbc8c05d86ed0a293a
Doc/whatsnew/3.10.rsthttps://github.com/python/cpython/pull/22929/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
View file https://github.com/brettcannon/cpython/blob/db2410d9744f8be0647892a64e7922a80d11c320/Doc/whatsnew/3.10.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22929/{{ revealButtonHref }}
https://github.com/python/cpython/pull/22929/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/22929/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/22929/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/22929/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
Lib/doctest.pyhttps://github.com/python/cpython/pull/22929/files#diff-ecfd94d9d59a476cc6a2027adf6ec5468dcaaa9c8ad5c6e007ba195ce471db70
View file https://github.com/brettcannon/cpython/blob/db2410d9744f8be0647892a64e7922a80d11c320/Lib/doctest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22929/{{ revealButtonHref }}
https://github.com/python/cpython/pull/22929/files#diff-ecfd94d9d59a476cc6a2027adf6ec5468dcaaa9c8ad5c6e007ba195ce471db70
https://github.com/python/cpython/pull/22929/files#diff-ecfd94d9d59a476cc6a2027adf6ec5468dcaaa9c8ad5c6e007ba195ce471db70
Lib/inspect.pyhttps://github.com/python/cpython/pull/22929/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
View file https://github.com/brettcannon/cpython/blob/db2410d9744f8be0647892a64e7922a80d11c320/Lib/inspect.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22929/{{ revealButtonHref }}
https://github.com/python/cpython/pull/22929/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
https://github.com/python/cpython/pull/22929/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
Lib/linecache.pyhttps://github.com/python/cpython/pull/22929/files#diff-a12aa9f6b37c73461f9566b9d36c7a8caa36b72eb964b5aaaa2dfcd30c0c118d
View file https://github.com/brettcannon/cpython/blob/db2410d9744f8be0647892a64e7922a80d11c320/Lib/linecache.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22929/{{ revealButtonHref }}
https://github.com/python/cpython/pull/22929/files#diff-a12aa9f6b37c73461f9566b9d36c7a8caa36b72eb964b5aaaa2dfcd30c0c118d
https://github.com/python/cpython/pull/22929/files#diff-a12aa9f6b37c73461f9566b9d36c7a8caa36b72eb964b5aaaa2dfcd30c0c118d
Lib/site.pyhttps://github.com/python/cpython/pull/22929/files#diff-0783c435d23e776f5f679cb9c63f2ad98ad13047204562ed2408bd85aa17fd33
View file https://github.com/brettcannon/cpython/blob/db2410d9744f8be0647892a64e7922a80d11c320/Lib/site.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22929/{{ revealButtonHref }}
https://github.com/python/cpython/pull/22929/files#diff-0783c435d23e776f5f679cb9c63f2ad98ad13047204562ed2408bd85aa17fd33
https://github.com/python/cpython/pull/22929/files#diff-0783c435d23e776f5f679cb9c63f2ad98ad13047204562ed2408bd85aa17fd33
Misc/NEWS.d/next/Library/2020-10-23-15-47-47.bpo-42133.BzizYV.rsthttps://github.com/python/cpython/pull/22929/files#diff-05d41c7634c35151a7349341a0012acd20be23fe45a45ffbc8c05d86ed0a293a
View file https://github.com/brettcannon/cpython/blob/db2410d9744f8be0647892a64e7922a80d11c320/Misc/NEWS.d/next/Library/2020-10-23-15-47-47.bpo-42133.BzizYV.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22929/{{ revealButtonHref }}
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.