René's URL Explorer Experiment


Title: Revalidate cached modules after import initialization by youknowdot · Pull Request #9839 · RustPython/RustPython · GitHub

Open Graph Title: Revalidate cached modules after import initialization by youknowdot · Pull Request #9839 · RustPython/RustPython

X Title: Revalidate cached modules after import initialization by youknowdot · Pull Request #9839 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: Summary Revalidate cached modules after inspecting __spec__._initializing or waiting for initialization, following CPython 3.15.2's PyImport_ImportModuleLevelObject. If an import failed and re...

X Description: Summary Revalidate cached modules after inspecting __spec__._initializing or waiting for initialization, following CPython 3.15.2's PyImport_ImportModuleLevelObject. If an import failed an...

Opengraph URL: https://github.com/RustPython/RustPython/pull/9839

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:1b8a9a6b-d507-71ab-7e1b-021b66de3a76
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6C2:62F48:6A9091:8D446B:6B01D7B3
html-safe-nonce9f06cefa7578ced04a38e5eeb46add62f5a4665a41d1959d6573bf68995dc232
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkMyOjYyRjQ4OjZBOTA5MTo4RDQ0NkI6NkIwMUQ3QjMiLCJ2aXNpdG9yX2lkIjoiODUyMDIxMzI3ODkyMjEyOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1ca9ba3f5cc5f94edd8abf692910464a2dd3c89ea257a570029297f606a9e74f
hovercard-subject-tagpull_request:5312882957
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/RustPython/RustPython/9839/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3cb2c470cb12e090740281c60f04df7ae0605631e3be26db05089c390fbddb7c/RustPython/RustPython/pull/9839
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3cb2c470cb12e090740281c60f04df7ae0605631e3be26db05089c390fbddb7c/RustPython/RustPython/pull/9839
og:image:altSummary Revalidate cached modules after inspecting __spec__._initializing or waiting for initialization, following CPython 3.15.2's PyImport_ImportModuleLevelObject. If an import failed and re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowdot
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9839#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9839
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%2FRustPython%2FRustPython%2Fpull%2F9839
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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/9839
Reloadhttps://github.com/RustPython/RustPython/pull/9839
Reloadhttps://github.com/RustPython/RustPython/pull/9839
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests132 (132)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
https://github.com/RustPython/RustPython
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:fix/import-cache-failure-race-20261114https://github.com/youknowdot/RustPython/tree/fix/import-cache-failure-race-20261114
Conversationhttps://github.com/RustPython/RustPython/pull/9839
Commits1 (1)https://github.com/RustPython/RustPython/pull/9839/commits
Checkshttps://github.com/RustPython/RustPython/pull/9839/checks
Files changedhttps://github.com/RustPython/RustPython/pull/9839/files
Revalidate cached modules after import initializationhttps://github.com/RustPython/RustPython/pull/9839#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:fix/import-cache-failure-race-20261114https://github.com/youknowdot/RustPython/tree/fix/import-cache-failure-race-20261114
https://github.com/youknowdot
youknowdothttps://github.com/youknowdot
Nov 14, 2026https://github.com/RustPython/RustPython/pull/9839#issue-6391961206
CPython 3.15.2 import.chttps://github.com/python/cpython/blob/v3.15.2/Python/import.c#L4036-L4067
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/youknowdot
Revalidate cached modules after import initializationhttps://github.com/RustPython/RustPython/pull/9839/commits/f5ca35e328017c34500028656e433d212246b26d
f5ca35ehttps://github.com/RustPython/RustPython/pull/9839/commits/f5ca35e328017c34500028656e433d212246b26d
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 14, 2026https://github.com/RustPython/RustPython/pull/9839#issuecomment-6879632375
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/9839?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=9839
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 14, 2026https://github.com/RustPython/RustPython/pull/9839#issuecomment-6879704180
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/apps/codspeed
codspeedhttps://github.com/apps/codspeed
Nov 14, 2026https://github.com/RustPython/RustPython/pull/9839#issuecomment-6880007949
1https://github.com/RustPython/RustPython/pull/9839#user-content-fn-skipped-a954ccd2f428bb31e5b3be134ad2bff3
f5ca35ehttps://github.com/RustPython/RustPython/commit/f5ca35e328017c34500028656e433d212246b26d
1d17957https://github.com/RustPython/RustPython/commit/1d17957399ef02dab4a3ed90622d44437acc6fc1
https://app.codspeed.io/RustPython/RustPython/branches/youknowdot%3Afix%2Fimport-cache-failure-race-20261114?utm_source=github&utm_medium=comment-v2&utm_content=button
click here and archive them to remove them from the performance reportshttps://app.codspeed.io/RustPython/RustPython/branches/youknowdot%3Afix%2Fimport-cache-failure-race-20261114?q=is%3Askipped&utm_source=github&utm_medium=comment-v2&utm_content=archive
↩https://github.com/RustPython/RustPython/pull/9839#user-content-fnref-skipped-a954ccd2f428bb31e5b3be134ad2bff3
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Nov 14, 2026 https://github.com/RustPython/RustPython/pull/9839#pullrequestreview-5906031045
View reviewed changes https://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d
extra_tests/snippets/import.pyhttps://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d#diff-85ef8168839714584019f1a98c9a3103ff03e6f2e1882d26401ba242bf693ab1
youknowonehttps://github.com/youknowone
Nov 14, 2026https://github.com/RustPython/RustPython/pull/9839#discussion_r4574820952
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Nov 15, 2026 https://github.com/RustPython/RustPython/pull/9839#pullrequestreview-5909636843
View reviewed changes https://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d
https://github.com/youknowone
youknowonehttps://github.com/youknowone
November 15, 2026 07:27https://github.com/RustPython/RustPython/pull/9839#event-36176825546
https://github.com/youknowone
youknowonehttps://github.com/youknowone
ff3d6cehttps://github.com/RustPython/RustPython/commit/ff3d6ce22fd5f8ab53e6c707268e65f9a47389c8
Nov 15, 2026https://github.com/RustPython/RustPython/pull/9839#event-36176829414
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Nov 15, 2026https://github.com/RustPython/RustPython/pull/9839#issuecomment-6891058404
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Nov 15, 2026 https://github.com/RustPython/RustPython/pull/9839#pullrequestreview-5909656190
View reviewed changes https://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/RustPython/RustPython/pull/9839#pullrequestreview-5909656190
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
crates/vm/src/import.rshttps://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Nov 15, 2026https://github.com/RustPython/RustPython/pull/9839#discussion_r4577504901
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/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%2FRustPython%2FRustPython%2Fpull%2F9839
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connector[bot] https://github.com/apps/chatgpt-codex-connector
https://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d
https://github.com/youknowone
youknowone https://github.com/youknowone
https://github.com/RustPython/RustPython/pull/9839/files/f5ca35e328017c34500028656e433d212246b26d
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9839
https://github.com/youknowdot
https://github.com/youknowone
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.