| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea9c362e-b2dd-c989-7366-981a7b1cac29 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE70:65478:380B57E:4A578A8:6B020972 |
| html-safe-nonce | d2f13736916f4832e9a0a29f3190c69313f50818e9c635681d36d27af194789e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTcwOjY1NDc4OjM4MEI1N0U6NEE1NzhBODo2QjAyMDk3MiIsInZpc2l0b3JfaWQiOiI0MDYwMzkzOTY5NTQ3MzQ4MzM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dcacea750ca3fcbe7b22d65377a9198b103448dae0a9010a61662aaca0653570 |
| hovercard-subject-tag | issue:2739960980 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/127945/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bca1dc054bf0cbed43bd07e2df0350a97f04ce20396be62eed72a453ca08e030/python/cpython/issues/127945 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bca1dc054bf0cbed43bd07e2df0350a97f04ce20396be62eed72a453ca08e030/python/cpython/issues/127945 |
| og:image:alt | Feature or enhancement This is a tracking issue for all thread safety problems related to ctypes. I'll be working on this, but others can feel free to give me some help. First of all, we need to fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ZeroIntensity |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
| Skip to content | https://github.com/python/cpython/issues/127945#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F127945 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F127945 |
| 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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/issues/127945 |
| Reload | https://github.com/python/cpython/issues/127945 |
| Reload | https://github.com/python/cpython/issues/127945 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/127945 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/127945 |
| #134332 | https://github.com/python/cpython/pull/134332 |
| ctypes thread safety auditing (and fixing) | https://github.com/python/cpython/issues/127945#top |
| #134332 | https://github.com/python/cpython/pull/134332 |
| https://github.com/kumaraditya303 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| topic-ctypes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22 |
| topic-free-threading | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22 |
| type-featureA feature request or enhancement | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| on Dec 14, 2024 | https://github.com/python/cpython/issues/127945#issue-2739960980 |
| #116738 | https://github.com/python/cpython/issues/116738 |
| @encukou | https://github.com/encukou |
| @colesbury | https://github.com/colesbury |
| gh-127945: add locking to malloc closure in free-threading #131662 | https://github.com/python/cpython/pull/131662 |
| gh-127945: fix thread safety of ctypes state #131710 | https://github.com/python/cpython/pull/131710 |
| gh-127945: fix thread safety of creating instances of ctypes structures #131716 | https://github.com/python/cpython/pull/131716 |
| gh-127945: make initialization of error_object_name thread safe #131896 | https://github.com/python/cpython/pull/131896 |
| gh-127945: acquire critical section around PyCFuncPtr_call #131898 | https://github.com/python/cpython/pull/131898 |
| gh-127945: mark TestLocalization as thread unsafe in ctypes #131899 | https://github.com/python/cpython/pull/131899 |
| gh-127945: fix thread safety and add lock held assertions to paramfunc in ctypes #132473 | https://github.com/python/cpython/pull/132473 |
| gh-127945: move initialization of field desc to module exec in ctypes #132552 | https://github.com/python/cpython/pull/132552 |
| gh-127945: change _ctypes_test static globals to thread local #132575 | https://github.com/python/cpython/pull/132575 |
| gh-127945: fix critical sections around ctypes array #132646 | https://github.com/python/cpython/pull/132646 |
| gh-127945: skip more tests in ctypes when using parallel threads #132682 | https://github.com/python/cpython/pull/132682 |
| gh-127945: add lock held assertions in ctypes arrays #132720 | https://github.com/python/cpython/pull/132720 |
| gh-127945: add test_ctypes to free-threading TSAN CI #132727 | https://github.com/python/cpython/pull/132727 |
| gh-127945: Update What's New in Python 3.14 for free-threaded ctypes #134332 | https://github.com/python/cpython/pull/134332 |
| [3.14] gh-127945: Update What's New in Python 3.14 for free-threaded ctypes (GH-134332) #134364 | https://github.com/python/cpython/pull/134364 |
| Next | https://github.com/python/cpython/issues/127945?timeline_page=1 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| type-featureA feature request or enhancement | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22 |
| topic-ctypes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| topic-free-threading | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22 |
| on Dec 14, 2024 | https://github.com/python/cpython/issues/127945#event-15657628879 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| on Jan 10, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2583311377 |
| working in cfield.c/PyCField* | https://github.com/python/cpython/issues/128715 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| on Jan 10, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2583381072 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Mar 20, 2025 | https://github.com/python/cpython/issues/127945#event-16908707350 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Mar 20, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2740347367 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Mar 24, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2748141888 |
| Race in _ctypes_alloc_callback and libffi under free-threading #128485 | https://github.com/python/cpython/issues/128485 |
| gh-128485: ensure that dlmalloc initializes itself at import time in ctypes #131633 | https://github.com/python/cpython/pull/131633 |
| gh-127945: add locking to malloc closure in free-threading #131662 | https://github.com/python/cpython/pull/131662 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| on Mar 24, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2748193174 |
| cpython/Modules/_ctypes/_ctypes.c | https://github.com/python/cpython/blob/4596666a9f9f6b97085619553a5cecb84ff6486d/Modules/_ctypes/_ctypes.c#L718-L719 |
| 4596666 | https://github.com/python/cpython/commit/4596666a9f9f6b97085619553a5cecb84ff6486d |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Mar 24, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2748228252 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| on Mar 24, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2748266328 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Mar 25, 2025 | https://github.com/python/cpython/issues/127945#event-16972613349 |
| gh-127945: add locking to malloc closure in free-threading (#131662) | https://github.com/python/cpython/commit/96ef4c511f3ec763dbb06a1f3c23c658a09403a1 |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| #131662 | https://github.com/python/cpython/pull/131662 |
| 96ef4c5 | https://github.com/python/cpython/commit/96ef4c511f3ec763dbb06a1f3c23c658a09403a1 |
| gh-127945: fix thread safety of ctypes state (#131710) | https://github.com/python/cpython/commit/f1967e72498209e42f7cf5eeff0cd84d1ec10d18 |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| #131710 | https://github.com/python/cpython/pull/131710 |
| f1967e7 | https://github.com/python/cpython/commit/f1967e72498209e42f7cf5eeff0cd84d1ec10d18 |
| gh-127945: fix thread safety of creating instances of ctypes structur… | https://github.com/python/cpython/commit/bc5a028c132efd7598593b75ab86b690209a6e6b |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| bc5a028 | https://github.com/python/cpython/commit/bc5a028c132efd7598593b75ab86b690209a6e6b |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Apr 18, 2025 | https://github.com/python/cpython/issues/127945#event-17320220931 |
| gh-127945: skip more tests in ctypes when using parallel threads (#13… | https://github.com/python/cpython/commit/b9f0943c1e31acd0895a4b57b4af57a5a1e0a2b1 |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| #13… | https://github.com/python/cpython/pull/132682 |
| b9f0943 | https://github.com/python/cpython/commit/b9f0943c1e31acd0895a4b57b4af57a5a1e0a2b1 |
| gh-127945: add lock held assertions in ctypes arrays (#132720) | https://github.com/python/cpython/commit/5b06d2cecad626330aef274b4468ba6c642dda4a |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| #132720 | https://github.com/python/cpython/pull/132720 |
| 5b06d2c | https://github.com/python/cpython/commit/5b06d2cecad626330aef274b4468ba6c642dda4a |
| gh-127945: add `test_ctypes` to free-threading TSAN CI (#132727) | https://github.com/python/cpython/commit/8516343d3aeb12e5871ecd1701649fd1fcf46fc0 |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| #132727 | https://github.com/python/cpython/pull/132727 |
| 8516343 | https://github.com/python/cpython/commit/8516343d3aeb12e5871ecd1701649fd1fcf46fc0 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://github.com/sergey-miryanov |
| on May 15, 2025 | https://github.com/python/cpython/issues/127945#issuecomment-2883275410 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on May 20, 2025 | https://github.com/python/cpython/issues/127945#event-17738447095 |
| gh-127945: Update What's New in Python 3.14 for free-threaded ctypes (#… | https://github.com/python/cpython/commit/b430e92dd80105e97b945a78a48bce13564bf843 |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| #… | https://github.com/python/cpython/pull/134332 |
| b430e92 | https://github.com/python/cpython/commit/b430e92dd80105e97b945a78a48bce13564bf843 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| completed | https://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| #134332 | https://github.com/python/cpython/pull/134332 |
| on May 20, 2025 | https://github.com/python/cpython/issues/127945#event-17738447102 |
| miss-islington | https://github.com/miss-islington |
| on May 20, 2025 | https://github.com/python/cpython/issues/127945#event-17738448801 |
| pythongh-127945: Update What's New in Python 3.14 for free-threaded c… | https://github.com/miss-islington/cpython/commit/2a74fdc6ad9b2888419cd00180a3da0f9f9682de |
| pythongh-127945 | https://github.com/python/cpython/issues/127945 |
| 2a74fdc | https://github.com/miss-islington/cpython/commit/2a74fdc6ad9b2888419cd00180a3da0f9f9682de |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on May 20, 2025 | https://github.com/python/cpython/issues/127945#event-17738522686 |
| [3.14] gh-127945: Update What's New in Python 3.14 for free-threaded … | https://github.com/python/cpython/commit/6d4b56d2f3501401d7ce86c3fd9002ee878d5a1d |
| gh-127945 | https://github.com/python/cpython/issues/127945 |
| 6d4b56d | https://github.com/python/cpython/commit/6d4b56d2f3501401d7ce86c3fd9002ee878d5a1d |
| lkollar | https://github.com/lkollar |
| on May 26, 2025 | https://github.com/python/cpython/issues/127945#event-17814924997 |
| pythongh-127945: Update What's New in Python 3.14 for free-threaded c… | https://github.com/lkollar/cpython/commit/483549a77aeaffb140ffa6b708e0f2dec7952425 |
| pythongh-127945 | https://github.com/python/cpython/issues/127945 |
| 483549a | https://github.com/lkollar/cpython/commit/483549a77aeaffb140ffa6b708e0f2dec7952425 |
| Pranjal095 | https://github.com/Pranjal095 |
| on Jul 12, 2025 | https://github.com/python/cpython/issues/127945#event-18600174952 |
| pythongh-127945: Update What's New in Python 3.14 for free-threaded c… | https://github.com/Pranjal095/cpython/commit/e93ce8a6af25a0a5156cee872262aae875a67e09 |
| pythongh-127945 | https://github.com/python/cpython/issues/127945 |
| e93ce8a | https://github.com/Pranjal095/cpython/commit/e93ce8a6af25a0a5156cee872262aae875a67e09 |
| taegyunkim | https://github.com/taegyunkim |
| on Aug 4, 2025 | https://github.com/python/cpython/issues/127945#event-18976820959 |
| pythongh-127945: Update What's New in Python 3.14 for free-threaded c… | https://github.com/taegyunkim/cpython/commit/a7293e0a4f8b26b4f55b9ee5da37626fb3b73270 |
| pythongh-127945 | https://github.com/python/cpython/issues/127945 |
| a7293e0 | https://github.com/taegyunkim/cpython/commit/a7293e0a4f8b26b4f55b9ee5da37626fb3b73270 |
| makslevental | https://github.com/makslevental |
| on Oct 29, 2026 | https://github.com/python/cpython/issues/127945#event-34643947146 |
| [MLIR][Python] Fix stale multithreaded_tests.py | https://github.com/llvm/llvm-project/commit/a49de64107cbf887a98467fe049e995689346a21 |
| a49de64 | https://github.com/llvm/llvm-project/commit/a49de64107cbf887a98467fe049e995689346a21 |
| [MLIR][Python] Fix stale multithreaded_tests.py (#237018) | https://github.com/llvm/llvm-project/commit/011983debbaba1eee9374a95f0b0193d40c2d536 |
| #237018 | https://github.com/llvm/llvm-project/pull/237018 |
| 011983d | https://github.com/llvm/llvm-project/commit/011983debbaba1eee9374a95f0b0193d40c2d536 |
| llvm-upstreamsync | https://github.com/apps/llvm-upstreamsync |
| on Oct 30, 2026 | https://github.com/python/cpython/issues/127945#event-34738785364 |
| Automerge: [MLIR][Python] Fix stale multithreaded_tests.py (#237018) | https://github.com/qualcomm/cpullvm-toolchain/commit/eafa8dee5fb588632340d0f158bf499069f2dfa8 |
| eafa8de | https://github.com/qualcomm/cpullvm-toolchain/commit/eafa8dee5fb588632340d0f158bf499069f2dfa8 |
| llvm-sync | https://github.com/apps/llvm-sync |
| on Oct 30, 2026 | https://github.com/python/cpython/issues/127945#event-34738823882 |
| Automerge: [MLIR][Python] Fix stale multithreaded_tests.py (#237018) | https://github.com/arm/arm-toolchain/commit/937e26f824cdffb7d762b9f1d5c708dd2dbcaf4e |
| 937e26f | https://github.com/arm/arm-toolchain/commit/937e26f824cdffb7d762b9f1d5c708dd2dbcaf4e |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/cpython/issues/127945 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/cpython/issues/127945 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| topic-ctypes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22 |
| topic-free-threading | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22 |
| type-featureA feature request or enhancement | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |