René's URL Explorer Experiment


Title: ctypes: unify the foreign-call path on a single host_env `call()` API by youknowone · Pull Request #8235 · RustPython/RustPython · GitHub

Open Graph Title: ctypes: unify the foreign-call path on a single host_env `call()` API by youknowone · Pull Request #8235 · RustPython/RustPython

X Title: ctypes: unify the foreign-call path on a single host_env `call()` API by youknowone · Pull Request #8235 · RustPython/RustPython

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

Open Graph Description: Summary Introduce a single libffi-hiding foreign-call entry point in host_env (ctypes::call) and route the VM _ctypes module through it, replacing the per-call libffi Type/Arg marshalling. On top o...

X Description: Summary Introduce a single libffi-hiding foreign-call entry point in host_env (ctypes::call) and route the VM _ctypes module through it, replacing the per-call libffi Type/Arg marshalling. On top o...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:19938f8d-c8ec-7ff6-99bc-9c16edab02e0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB2E:3942DC:001E:0051:6A601C3E
html-safe-nonce5a1baaea5ef23a7b0e28c5ec97442549330cbf92f74b3d5abb8a9a7980f6332e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjJFOjM5NDJEQzowMDFFOjAwNTE6NkE2MDFDM0UiLCJ2aXNpdG9yX2lkIjoiMzQwODg1MzEzNDQ1MDEwNTQwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb17f34957aba2cb3b370d0ed357643a7f795d275fa84e4ad7e48dca56b376938
hovercard-subject-tagpull_request:4008300142
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/RustPython/RustPython/pull/8235/commits
twitter:imagehttps://opengraph.githubassets.com/16286fe9bfce92ca6c819a3a29f23ae072f40c1121de179db68122935d5e7fb1/RustPython/RustPython/pull/8235
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/16286fe9bfce92ca6c819a3a29f23ae072f40c1121de179db68122935d5e7fb1/RustPython/RustPython/pull/8235
og:image:altSummary Introduce a single libffi-hiding foreign-call entry point in host_env (ctypes::call) and route the VM _ctypes module through it, replacing the per-call libffi Type/Arg marshalling. On top o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
None7e86a727ba4abf81d0638c5ead57286c17d3b2706f57813445c4316d8e848673
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
releasef13d8ac548fb76838b3d703c7fe2100887547d0e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8235/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8235%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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2FRustPython%2FRustPython%2Fpull%2F8235%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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/8235/commits
Reloadhttps://github.com/RustPython/RustPython/pull/8235/commits
Reloadhttps://github.com/RustPython/RustPython/pull/8235/commits
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8235/commits
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 294 https://github.com/RustPython/RustPython/issues
Pull requests 105 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:hostenv-ctypes-callhttps://github.com/youknowone/RustPython/tree/hostenv-ctypes-call
Conversationhttps://github.com/RustPython/RustPython/pull/8235
Commits8 (8)https://github.com/RustPython/RustPython/pull/8235/commits
Checkshttps://github.com/RustPython/RustPython/pull/8235/checks
Files changedhttps://github.com/RustPython/RustPython/pull/8235/files
ctypes: unify the foreign-call path on a single host_env call() APIhttps://github.com/RustPython/RustPython/pull/8235/commits#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:hostenv-ctypes-callhttps://github.com/youknowone/RustPython/tree/hostenv-ctypes-call
host_env: add unified high-level `call` foreign-call APIhttps://github.com/RustPython/RustPython/pull/8235/commits/1c5b1135d227e40e475f9395fb67396acc74d572
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
1c5b113https://github.com/RustPython/RustPython/pull/8235/commits/1c5b1135d227e40e475f9395fb67396acc74d572
https://github.com/RustPython/RustPython/tree/1c5b1135d227e40e475f9395fb67396acc74d572
_ctypes: route the VM call path through host_env call()https://github.com/RustPython/RustPython/pull/8235/commits/28026827be63bb761f910f1a4d154b950d0a8cae
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
2802682https://github.com/RustPython/RustPython/pull/8235/commits/28026827be63bb761f910f1a4d154b950d0a8cae
https://github.com/RustPython/RustPython/tree/28026827be63bb761f910f1a4d154b950d0a8cae
_ctypes: pass and return structs and unions by valuehttps://github.com/RustPython/RustPython/pull/8235/commits/b5c88708c37fba8281b1693e673de45b54ea5d06
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
b5c8870https://github.com/RustPython/RustPython/pull/8235/commits/b5c88708c37fba8281b1693e673de45b54ea5d06
https://github.com/RustPython/RustPython/tree/b5c88708c37fba8281b1693e673de45b54ea5d06
host_env: remove the pre-`call` foreign-call scaffoldinghttps://github.com/RustPython/RustPython/pull/8235/commits/c49d4655761aa850c1f26325a17ddbdb7b1c6958
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
c49d465https://github.com/RustPython/RustPython/pull/8235/commits/c49d4655761aa850c1f26325a17ddbdb7b1c6958
https://github.com/RustPython/RustPython/tree/c49d4655761aa850c1f26325a17ddbdb7b1c6958
host_env: read `call` scalar returns as a full register, use `add_i32`https://github.com/RustPython/RustPython/pull/8235/commits/88eb78403e5f50c6e09747615effdbaa33365c7e
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
88eb784https://github.com/RustPython/RustPython/pull/8235/commits/88eb78403e5f50c6e09747615effdbaa33365c7e
https://github.com/RustPython/RustPython/tree/88eb78403e5f50c6e09747615effdbaa33365c7e
_ctypes: skip the by-value snippet on Windowshttps://github.com/RustPython/RustPython/pull/8235/commits/9ccb21693fc6598046b9de043a301d6114982593
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
9ccb216https://github.com/RustPython/RustPython/pull/8235/commits/9ccb21693fc6598046b9de043a301d6114982593
https://github.com/RustPython/RustPython/tree/9ccb21693fc6598046b9de043a301d6114982593
_ctypes: keep the converted argument alive for by-value aggregateshttps://github.com/RustPython/RustPython/pull/8235/commits/40d63d765d73a6737943a76f1191a4529f2c4e64
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
40d63d7https://github.com/RustPython/RustPython/pull/8235/commits/40d63d765d73a6737943a76f1191a4529f2c4e64
https://github.com/RustPython/RustPython/tree/40d63d765d73a6737943a76f1191a4529f2c4e64
host_env: avoid indexing an empty by-value aggregate buffer in `call`https://github.com/RustPython/RustPython/pull/8235/commits/4681347c9ea29f0f4d35bd8ec0464880d89f5307
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
4681347https://github.com/RustPython/RustPython/pull/8235/commits/4681347c9ea29f0f4d35bd8ec0464880d89f5307
https://github.com/RustPython/RustPython/tree/4681347c9ea29f0f4d35bd8ec0464880d89f5307
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.