René's URL Explorer Experiment


Title: gh-128182: Add per-object memory access synchronization to `ctypes` by ZeroIntensity · Pull Request #128490 · python/cpython · GitHub

Open Graph Title: gh-128182: Add per-object memory access synchronization to `ctypes` by ZeroIntensity · Pull Request #128490 · python/cpython

X Title: gh-128182: Add per-object memory access synchronization to `ctypes` by ZeroIntensity · Pull Request #128490 · python/cpython

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

Open Graph Description: I say "per-object" as in, using a single ctypes object is thread-safe if that's the only object accessing the memory. IMO, access to arbitrary memory across different pointer objects ...

X Description: I say "per-object" as in, using a single ctypes object is thread-safe if that's the only object accessing the memory. IMO, access to arbitrary memory across different poin...

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

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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:0f868723-1e70-1d94-c478-946dd9bd2e8a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC698:2E124E:42053D6:5438DAF:6B0236CE
html-safe-nonce77ce65afef890bc65a804fde2a29127b23480b0ecba0c2c86e39fee5a5621e78
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjk4OjJFMTI0RTo0MjA1M0Q2OjU0MzhEQUY6NkIwMjM2Q0UiLCJ2aXNpdG9yX2lkIjoiMzExNjk2NTg1OTk0NDQ0NTY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac60a54fd555f1f91b4aac7d8dad1e613b2c629b49e3c271a60285a2341414e87d
hovercard-subject-tagpull_request:2260474994
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/128490/commits
twitter:imagehttps://opengraph.githubassets.com/24b55f809985e1dac0d8202be3f6868e20245e2bc15da172d5857a09e64e0491/python/cpython/pull/128490
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/24b55f809985e1dac0d8202be3f6868e20245e2bc15da172d5857a09e64e0491/python/cpython/pull/128490
og:image:altI say "per-object" as in, using a single ctypes object is thread-safe if that's the only object accessing the memory. IMO, access to arbitrary memory across different pointer objects ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZeroIntensity
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/128490/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128490%2Fcommits
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%2Fpull%2F128490%2Fcommits
Sign uphttps://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/128490/commits
Reloadhttps://github.com/python/cpython/pull/128490/commits
Reloadhttps://github.com/python/cpython/pull/128490/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)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/insights
https://github.com/python/cpython
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:ctypes-b-ptrhttps://github.com/ZeroIntensity/cpython/tree/ctypes-b-ptr
Conversationhttps://github.com/python/cpython/pull/128490
Commits24 (24)https://github.com/python/cpython/pull/128490/commits
Checkshttps://github.com/python/cpython/pull/128490/checks
Files changedhttps://github.com/python/cpython/pull/128490/files
gh-128182: Add per-object memory access synchronization to ctypeshttps://github.com/python/cpython/pull/128490/commits#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:ctypes-b-ptrhttps://github.com/ZeroIntensity/cpython/tree/ctypes-b-ptr
Lock pointer reads and writes in ctypes.https://github.com/python/cpython/pull/128490/commits/3bb21fff034fb071124b78eb9b45c0d32783d3f9
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
3bb21ffhttps://github.com/python/cpython/pull/128490/commits/3bb21fff034fb071124b78eb9b45c0d32783d3f9
https://github.com/python/cpython/tree/3bb21fff034fb071124b78eb9b45c0d32783d3f9
Add a test.https://github.com/python/cpython/pull/128490/commits/8c4c49a4c1862274b66c620fbbd72f8e807e42ef
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
8c4c49ahttps://github.com/python/cpython/pull/128490/commits/8c4c49a4c1862274b66c620fbbd72f8e807e42ef
https://github.com/python/cpython/tree/8c4c49a4c1862274b66c620fbbd72f8e807e42ef
Fix the test.https://github.com/python/cpython/pull/128490/commits/da293c14262a946b00c08fa45aa3ea7dd2551fda
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
da293c1https://github.com/python/cpython/pull/128490/commits/da293c14262a946b00c08fa45aa3ea7dd2551fda
https://github.com/python/cpython/tree/da293c14262a946b00c08fa45aa3ea7dd2551fda
Add blurb.https://github.com/python/cpython/pull/128490/commits/d01b757f596d97987f64e73d413fdf551b7c43fd
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
d01b757https://github.com/python/cpython/pull/128490/commits/d01b757f596d97987f64e73d413fdf551b7c43fd
https://github.com/python/cpython/tree/d01b757f596d97987f64e73d413fdf551b7c43fd
Add a lock for generic helper functions.https://github.com/python/cpython/pull/128490/commits/8bb980f519854417ebb28c1550dd8c57e0b0f4a3
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
8bb980fhttps://github.com/python/cpython/pull/128490/commits/8bb980f519854417ebb28c1550dd8c57e0b0f4a3
https://github.com/python/cpython/tree/8bb980f519854417ebb28c1550dd8c57e0b0f4a3
Add documentation note.https://github.com/python/cpython/pull/128490/commits/d60f2e237d4f8ee4265c873186e3dbfb6c93a29b
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
d60f2e2https://github.com/python/cpython/pull/128490/commits/d60f2e237d4f8ee4265c873186e3dbfb6c93a29b
https://github.com/python/cpython/tree/d60f2e237d4f8ee4265c873186e3dbfb6c93a29b
Fix compiler warning on GIL-ful builds.https://github.com/python/cpython/pull/128490/commits/de4c4eabe421b688cf3d50d10fd14f163500a28a
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
de4c4eahttps://github.com/python/cpython/pull/128490/commits/de4c4eabe421b688cf3d50d10fd14f163500a28a
https://github.com/python/cpython/tree/de4c4eabe421b688cf3d50d10fd14f163500a28a
Fix MSVC compiler warnings.https://github.com/python/cpython/pull/128490/commits/23d8e21f7c716d164a71dbe39dd1f51cc86a8bea
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
23d8e21https://github.com/python/cpython/pull/128490/commits/23d8e21f7c716d164a71dbe39dd1f51cc86a8bea
https://github.com/python/cpython/tree/23d8e21f7c716d164a71dbe39dd1f51cc86a8bea
Fix MSVC compiler warnings (actually this time)https://github.com/python/cpython/pull/128490/commits/bdee2b253527dfd2a3407a4349d10ab0c545473b
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
bdee2b2https://github.com/python/cpython/pull/128490/commits/bdee2b253527dfd2a3407a4349d10ab0c545473b
https://github.com/python/cpython/tree/bdee2b253527dfd2a3407a4349d10ab0c545473b
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/128490/commits/9f272d94a848ab109322477e2a82cfeb5bd5ac2f
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
picnixzhttps://github.com/python/cpython/commits?author=picnixz
9f272d9https://github.com/python/cpython/pull/128490/commits/9f272d94a848ab109322477e2a82cfeb5bd5ac2f
https://github.com/python/cpython/tree/9f272d94a848ab109322477e2a82cfeb5bd5ac2f
Fix Sphinx code block.https://github.com/python/cpython/pull/128490/commits/32a885feee29c3a4b4397a50016d3c186478e119
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
32a885fhttps://github.com/python/cpython/pull/128490/commits/32a885feee29c3a4b4397a50016d3c186478e119
https://github.com/python/cpython/tree/32a885feee29c3a4b4397a50016d3c186478e119
Flatten call to PyUnicode_AsWideCharhttps://github.com/python/cpython/pull/128490/commits/1c92b4bacaabff63539ad09cb2f882f87075080e
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
1c92b4bhttps://github.com/python/cpython/pull/128490/commits/1c92b4bacaabff63539ad09cb2f882f87075080e
https://github.com/python/cpython/tree/1c92b4bacaabff63539ad09cb2f882f87075080e
Fix lock.https://github.com/python/cpython/pull/128490/commits/ff34cc2c49e26e18b31c7f4c0a934b33214f9c52
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
ff34cc2https://github.com/python/cpython/pull/128490/commits/ff34cc2c49e26e18b31c7f4c0a934b33214f9c52
https://github.com/python/cpython/tree/ff34cc2c49e26e18b31c7f4c0a934b33214f9c52
Fix indentation.https://github.com/python/cpython/pull/128490/commits/804f1b65304767059bf645a5b6e9bcb19f756e79
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
804f1b6https://github.com/python/cpython/pull/128490/commits/804f1b65304767059bf645a5b6e9bcb19f756e79
https://github.com/python/cpython/tree/804f1b65304767059bf645a5b6e9bcb19f756e79
Revert "Flatten call to PyUnicode_AsWideChar"https://github.com/python/cpython/pull/128490/commits/bae3c5bb27f54f077cf0d2afa5931fb1a7d86552
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
bae3c5bhttps://github.com/python/cpython/pull/128490/commits/bae3c5bb27f54f077cf0d2afa5931fb1a7d86552
https://github.com/python/cpython/tree/bae3c5bb27f54f077cf0d2afa5931fb1a7d86552
Properly flatten call to PyUnicode_AsWideCharhttps://github.com/python/cpython/pull/128490/commits/d720d9ab18dc506f2bb36fee3ea5b5145483159b
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
d720d9ahttps://github.com/python/cpython/pull/128490/commits/d720d9ab18dc506f2bb36fee3ea5b5145483159b
https://github.com/python/cpython/tree/d720d9ab18dc506f2bb36fee3ea5b5145483159b
Fix indentation.https://github.com/python/cpython/pull/128490/commits/04b32527c45cb1fb32d10fa175814606ad5f20e4
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
04b3252https://github.com/python/cpython/pull/128490/commits/04b32527c45cb1fb32d10fa175814606ad5f20e4
https://github.com/python/cpython/tree/04b32527c45cb1fb32d10fa175814606ad5f20e4
Clarify commenthttps://github.com/python/cpython/pull/128490/commits/6401bbcecfc204ff2984a41e59122b5abb8efbca
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
6401bbchttps://github.com/python/cpython/pull/128490/commits/6401bbcecfc204ff2984a41e59122b5abb8efbca
https://github.com/python/cpython/tree/6401bbcecfc204ff2984a41e59122b5abb8efbca
Switch to critical sections.https://github.com/python/cpython/pull/128490/commits/9d35e86f68fc8d4fbccb2660ea9899d875e5c8e8
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
9d35e86https://github.com/python/cpython/pull/128490/commits/9d35e86f68fc8d4fbccb2660ea9899d875e5c8e8
https://github.com/python/cpython/tree/9d35e86f68fc8d4fbccb2660ea9899d875e5c8e8
Update test_arrays.pyhttps://github.com/python/cpython/pull/128490/commits/ce942340bd905a6493200d673ce43151bd90f40f
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
encukouhttps://github.com/python/cpython/commits?author=encukou
ce94234https://github.com/python/cpython/pull/128490/commits/ce942340bd905a6493200d673ce43151bd90f40f
https://github.com/python/cpython/tree/ce942340bd905a6493200d673ce43151bd90f40f
Update Doc/library/ctypes.rsthttps://github.com/python/cpython/pull/128490/commits/d6a4bc846a5932632c40643863c4d651b79ad4ce
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
picnixzhttps://github.com/python/cpython/commits?author=picnixz
d6a4bc8https://github.com/python/cpython/pull/128490/commits/d6a4bc846a5932632c40643863c4d651b79ad4ce
https://github.com/python/cpython/tree/d6a4bc846a5932632c40643863c4d651b79ad4ce
Update Modules/_ctypes/_ctypes.chttps://github.com/python/cpython/pull/128490/commits/5a4c1d69263411bbcbea9a8513aba3ea1cfe9155
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
encukouhttps://github.com/python/cpython/commits?author=encukou
5a4c1d6https://github.com/python/cpython/pull/128490/commits/5a4c1d69263411bbcbea9a8513aba3ea1cfe9155
https://github.com/python/cpython/tree/5a4c1d69263411bbcbea9a8513aba3ea1cfe9155
Update Modules/_ctypes/_ctypes.chttps://github.com/python/cpython/pull/128490/commits/774a6ec19b259888b8254f56419f36622545eb8a
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
encukouhttps://github.com/python/cpython/commits?author=encukou
774a6echttps://github.com/python/cpython/pull/128490/commits/774a6ec19b259888b8254f56419f36622545eb8a
https://github.com/python/cpython/tree/774a6ec19b259888b8254f56419f36622545eb8a
Remove silly seealso.https://github.com/python/cpython/pull/128490/commits/c8f2cd3e3d65987af50d4bbe418dd411b67c6921
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
c8f2cd3https://github.com/python/cpython/pull/128490/commits/c8f2cd3e3d65987af50d4bbe418dd411b67c6921
https://github.com/python/cpython/tree/c8f2cd3e3d65987af50d4bbe418dd411b67c6921
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.