René's URL Explorer Experiment


Title: No protection: `import numpy` in two different threads can lead to race-condition · Issue #91238 · python/cpython · GitHub

Open Graph Title: No protection: `import numpy` in two different threads can lead to race-condition · Issue #91238 · python/cpython

X Title: No protection: `import numpy` in two different threads can lead to race-condition · Issue #91238 · python/cpython

Description: BPO 47082 Nosy @tiran, @seberg, @jhgoebbert Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: assignee = None closed_at = None created_...

Open Graph Description: BPO 47082 Nosy @tiran, @seberg, @jhgoebbert Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: a...

X Description: BPO 47082 Nosy @tiran, @seberg, @jhgoebbert Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: a...

Opengraph URL: https://github.com/python/cpython/issues/91238

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No protection: `import numpy` in two different threads can lead to race-condition","articleBody":"BPO | [47082](https://bugs.python.org/issue47082)\n--- | :---\nNosy | @tiran, @seberg, @jhgoebbert\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2022-03-21.17:03:05.346>\nlabels = ['interpreter-core', 'type-bug', '3.11']\ntitle = 'No protection: `import numpy` in two different threads can lead to race-condition'\nupdated_at = \u003cDate 2022-03-21.23:04:38.800>\nuser = 'https://github.com/jhgoebbert'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-03-21.23:04:38.800>\nactor = 'seberg'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2022-03-21.17:03:05.346>\ncreator = 'jhgoebbert'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 47082\nkeywords = []\nmessage_count = 4.0\nmessages = ['415687', '415690', '415718', '415722']\nnosy_count = 3.0\nnosy_names = ['christian.heimes', 'seberg', 'jhgoebbert']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = None\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue47082'\nversions = ['Python 3.11']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"jhgoebbert"},"datePublished":"2022-03-21T17:03:05Z","url":"https://github.com/python/cpython/issues/91238"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b6cada78-dc9a-3491-d54d-a8a0979890f3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCAF0:12F69A:50BEF4:68AA38:6AED2737
html-safe-nonce7c873732c69db8575894a9dfb1f7f0aa7ece30db7fea6903cd2ece27378b70ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUYwOjEyRjY5QTo1MEJFRjQ6NjhBQTM4OjZBRUQyNzM3IiwidmlzaXRvcl9pZCI6IjQ2MjM2NDg4NTI3NjA0MDU4MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0d1c7a95360dc53dc1f0704399740c9287b759b32c98e57ced0dd662a2aae2eb
hovercard-subject-tagissue:1199077407
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/91238/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5d25fdb6ffaf98c4964283788893122c68e0727aac4ab70b573e599a1ef6c743/python/cpython/issues/91238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d25fdb6ffaf98c4964283788893122c68e0727aac4ab70b573e599a1ef6c743/python/cpython/issues/91238
og:image:altBPO 47082 Nosy @tiran, @seberg, @jhgoebbert Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejhgoebbert
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
turbo-cache-controlno-preview
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
release98b41fa4b5635ceb45a4c54320fced73817ff290
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/91238#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F91238
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%2Fissues%2F91238
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/91238
Reloadhttps://github.com/python/cpython/issues/91238
Reloadhttps://github.com/python/cpython/issues/91238
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)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/pulse
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/91238
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/91238
No protection: import numpy in two different threads can lead to race-conditionhttps://github.com/python/cpython/issues/91238#top
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Mar 21, 2022https://github.com/python/cpython/issues/91238#issue-1199077407
47082https://bugs.python.org/issue47082
@tiranhttps://github.com/tiran
@seberghttps://github.com/seberg
@jhgoebberthttps://github.com/jhgoebbert
on Mar 21, 2022https://github.com/python/cpython/issues/91238#issuecomment-1093946960
Xprahttps://github.com/Xpra-org/xpra
https://github.com/numpy/numpy/blob/maintenance/1.21.x/numpy/core/__init__.py#L18https://github.com/numpy/numpy/blob/maintenance/1.21.x/numpy/core/__init__.py#L18
https://github.com/numpy/numpy/blob/maintenance/1.21.x/numpy/core/__init__.py#L51https://github.com/numpy/numpy/blob/maintenance/1.21.x/numpy/core/__init__.py#L51
@seberghttps://github.com/seberg
HEREhttps://github.com/numpy/numpy/issues/21223#issuecomment-1074008386
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Mar 21, 2022https://github.com/python/cpython/issues/91238#event-6404221499
on Mar 21, 2022https://github.com/python/cpython/issues/91238#issuecomment-1093946961
https://github.com/tiran
tiranhttps://github.com/tiran
on Mar 21, 2022https://github.com/python/cpython/issues/91238#issuecomment-1093946962
bpo-9260https://bugs.python.org/issue?@action=redirect&bpo=9260
on Mar 21, 2022https://github.com/python/cpython/issues/91238#issuecomment-1093946964
ezio-melottihttps://github.com/ezio-melotti
https://github.com/python/cpython/issues/undefined
on Apr 10, 2022https://github.com/python/cpython/issues/91238#event-6404221512
https://github.com/fbrunodr
fbrunodrhttps://github.com/fbrunodr
on Apr 15, 2022https://github.com/python/cpython/issues/91238#issuecomment-1100467405
@seberghttps://github.com/seberg
https://github.com/seberg
seberghttps://github.com/seberg
on Apr 15, 2022https://github.com/python/cpython/issues/91238#issuecomment-1100470215
@jhgoebberthttps://github.com/jhgoebbert
serhiy-storchakahttps://github.com/serhiy-storchaka
Threading issues 🧵https://github.com/orgs/python/projects/12
on May 20, 2022https://github.com/python/cpython/issues/91238#event-15232915105
https://github.com/cg505
cg505https://github.com/cg505
on Apr 11, 2025https://github.com/python/cpython/issues/91238#issuecomment-2795572884
https://github.com/skypilot-org/skypilot/actions/runs/14391450370/job/40359190320?pr=5095https://github.com/skypilot-org/skypilot/actions/runs/14391450370/job/40359190320?pr=5095
https://github.com/numpy/numpy/blob/v1.24.4/numpy/core/__init__.py#L14-L20https://github.com/numpy/numpy/blob/v1.24.4/numpy/core/__init__.py#L14-L20
https://github.com/numpy/numpy/blob/v1.24.4/numpy/core/__init__.py#L50-L52https://github.com/numpy/numpy/blob/v1.24.4/numpy/core/__init__.py#L50-L52
https://github.com/skypilot-org/skypilot/blob/d01d496e66615656a2ddf57e4695151392b61c63/sky/utils/subprocess_utils.py#L136-L138https://github.com/skypilot-org/skypilot/blob/d01d496e66615656a2ddf57e4695151392b61c63/sky/utils/subprocess_utils.py#L136-L138
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
on Jan 11, 2026https://github.com/python/cpython/issues/91238#issuecomment-3735281033
#143650https://github.com/python/cpython/issues/143650
gpsheadhttps://github.com/gpshead
duplicatehttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Aduplicate
importlib race condition allows stale module ref to escape on failure #143650https://github.com/python/cpython/issues/143650
on Jan 11, 2026https://github.com/python/cpython/issues/91238#event-21973687729
github-project-automationhttps://github.com/apps/github-project-automation
Threading issues 🧵https://github.com/orgs/python/projects/12
on Jan 11, 2026https://github.com/python/cpython/issues/91238
Pyoschhttps://github.com/Pyosch
on Jun 17, 2026https://github.com/python/cpython/issues/91238#event-26866686851
fix(startup): remove background preloader daemon to stop import racehttps://github.com/Pyosch/vise-d/commit/4cc0a51b909fd02af38306db3869b6207e8c7545
4cc0a51https://github.com/Pyosch/vise-d/commit/4cc0a51b909fd02af38306db3869b6207e8c7545
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/91238
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/91238
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Threading issues 🧵https://github.com/orgs/python/projects/12
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.