René's URL Explorer Experiment


Title: bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules by tjb900 · Pull Request #9047 · python/cpython · GitHub

Open Graph Title: bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules by tjb900 · Pull Request #9047 · python/cpython

X Title: bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules by tjb900 · Pull Request #9047 · python/cpython

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

Open Graph Description: import.c seems to contain a lot of protection to ensure that a partially-initialised module is not returned from import when in a multi-threaded environment. PyImport_Import enjoys these protectio...

X Description: import.c seems to contain a lot of protection to ensure that a partially-initialised module is not returned from import when in a multi-threaded environment. PyImport_Import enjoys these protectio...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:86d3069b-a7e0-44c1-46f8-ebd833d9023e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id857C:28B9FB:F6674:153A0C:6A505B23
html-safe-nonce9976b1d02cd86d29726cc4f31b9b1fa80b9973d118f8a08f46a8752d447be3f3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTdDOjI4QjlGQjpGNjY3NDoxNTNBMEM6NkE1MDVCMjMiLCJ2aXNpdG9yX2lkIjoiMTk4MTE0NDI4MjI4MzY2MjExNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacabf8072f27a7f91fac6a73a9143a3470538896dd35a41287ccc01e2572adc49f
hovercard-subject-tagpull_request:212787169
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/9047/commits
twitter:imagehttps://opengraph.githubassets.com/2a43ff7e77aad2445be2b33184a7e44eb5bd9027a39368a2d0213554b0225ded/python/cpython/pull/9047
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a43ff7e77aad2445be2b33184a7e44eb5bd9027a39368a2d0213554b0225ded/python/cpython/pull/9047
og:image:altimport.c seems to contain a lot of protection to ensure that a partially-initialised module is not returned from import when in a multi-threaded environment. PyImport_Import enjoys these protectio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametjb900
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/9047/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9047%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F9047%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/9047/commits
Reloadhttps://github.com/python/cpython/pull/9047/commits
Reloadhttps://github.com/python/cpython/pull/9047/commits
Please reload this pagehttps://github.com/python/cpython/pull/9047/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/9047/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
pitrouhttps://github.com/pitrou
python:masterhttps://github.com/python/cpython/tree/master
tjb900:pickle_import_race_fixhttps://github.com/tjb900/cpython/tree/pickle_import_race_fix
Conversationhttps://github.com/python/cpython/pull/9047
Commits7 (7)https://github.com/python/cpython/pull/9047/commits
Checkshttps://github.com/python/cpython/pull/9047/checks
Files changedhttps://github.com/python/cpython/pull/9047/files
bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.moduleshttps://github.com/python/cpython/pull/9047/commits#top
pitrouhttps://github.com/pitrou
python:masterhttps://github.com/python/cpython/tree/master
tjb900:pickle_import_race_fixhttps://github.com/tjb900/cpython/tree/pickle_import_race_fix
change unpickling to use import rather than retrieving from sys.moduleshttps://github.com/python/cpython/pull/9047/commits/e47c5e1924f9af79af7804083d9167f4109803c7
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
e47c5e1https://github.com/python/cpython/pull/9047/commits/e47c5e1924f9af79af7804083d9167f4109803c7
https://github.com/python/cpython/tree/e47c5e1924f9af79af7804083d9167f4109803c7
pep7 fixuphttps://github.com/python/cpython/pull/9047/commits/595bdbb673e9c80fa844754b4b868816ef534b61
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
595bdbbhttps://github.com/python/cpython/pull/9047/commits/595bdbb673e9c80fa844754b4b868816ef534b61
https://github.com/python/cpython/tree/595bdbb673e9c80fa844754b4b868816ef534b61
add unit test for bpo-34572https://github.com/python/cpython/pull/9047/commits/f72802acfd2049285a7d2c1ce446f4991cdb8395
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
f72802ahttps://github.com/python/cpython/pull/9047/commits/f72802acfd2049285a7d2c1ce446f4991cdb8395
https://github.com/python/cpython/tree/f72802acfd2049285a7d2c1ce446f4991cdb8395
add comment to explain why GetModule wasn't usedhttps://github.com/python/cpython/pull/9047/commits/fa5dbebf4d7c0654a1503a8eb9d4fd2e6b69c111
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
fa5dbebhttps://github.com/python/cpython/pull/9047/commits/fa5dbebf4d7c0654a1503a8eb9d4fd2e6b69c111
https://github.com/python/cpython/tree/fa5dbebf4d7c0654a1503a8eb9d4fd2e6b69c111
rewrite test case to avoid sleepshttps://github.com/python/cpython/pull/9047/commits/64a7f954c56d5afc00ea1d8008fb78ff65ddafa1
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
64a7f95https://github.com/python/cpython/pull/9047/commits/64a7f954c56d5afc00ea1d8008fb78ff65ddafa1
https://github.com/python/cpython/tree/64a7f954c56d5afc00ea1d8008fb78ff65ddafa1
move test to AbstractUnpickleTesterhttps://github.com/python/cpython/pull/9047/commits/202d4e2a11f857801356ba181b6e6179a6068016
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
202d4e2https://github.com/python/cpython/pull/9047/commits/202d4e2a11f857801356ba181b6e6179a6068016
https://github.com/python/cpython/tree/202d4e2a11f857801356ba181b6e6179a6068016
better assertionhttps://github.com/python/cpython/pull/9047/commits/a0425ef01015ebf7208f9e062330825ba3587f30
https://github.com/tjb900
tjb900https://github.com/python/cpython/commits?author=tjb900
a0425efhttps://github.com/python/cpython/pull/9047/commits/a0425ef01015ebf7208f9e062330825ba3587f30
https://github.com/python/cpython/tree/a0425ef01015ebf7208f9e062330825ba3587f30
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.