René's URL Explorer Experiment


Title: Initial C-api implementation by arihant2math · Pull Request #5604 · RustPython/RustPython · GitHub

Open Graph Title: Initial C-api implementation by arihant2math · Pull Request #5604 · RustPython/RustPython

X Title: Initial C-api implementation by arihant2math · Pull Request #5604 · RustPython/RustPython

Description: This PR doesn't aim to implement any particular feature set/subset of the C-API, rather it tries to get the scaffolding in place, so that most functions could be implemented. It's currently built a...

Open Graph Description: This PR doesn't aim to implement any particular feature set/subset of the C-API, rather it tries to get the scaffolding in place, so that most functions could be implemented. It's currently...

X Description: This PR doesn't aim to implement any particular feature set/subset of the C-API, rather it tries to get the scaffolding in place, so that most functions could be implemented. It's c...

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

X: @github

direct link

Domain: github.com

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:c8f1614c-3715-8034-22a7-fc4118f84572
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8536:11B887:63DF5F:86D8C6:69700B2D
html-safe-nonce8504fec24934e741686c8640c6d90fe27666becb6dd0969d9a5f9c548369568c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTM2OjExQjg4Nzo2M0RGNUY6ODZEOEM2OjY5NzAwQjJEIiwidmlzaXRvcl9pZCI6IjcxNjg1Mjc4MzczMTEyNzM3NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac73fddd6915974773d5f51c80dffc225627d3b643c6cd1b6ff2e448ebf8177c0d
hovercard-subject-tagpull_request:2388662636
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/5604/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3034289e39a2d8d47596596d840ea91a4eb1ed8011045388a8757eb9bc67c54d/RustPython/RustPython/pull/5604
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3034289e39a2d8d47596596d840ea91a4eb1ed8011045388a8757eb9bc67c54d/RustPython/RustPython/pull/5604
og:image:altThis PR doesn't aim to implement any particular feature set/subset of the C-API, rather it tries to get the scaffolding in place, so that most functions could be implemented. It's currently...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearihant2math
hostnamegithub.com
expected-hostnamegithub.com
None6e3493a220046ce21668e7217b5ac322bdc4edd2736ee04362e5462968204bd5
turbo-cache-controlno-preview
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
release9f627dfc82200bff3d2b49e4fb4b0a99594a9a9a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/5604#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F5604
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F5604
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/5604
Reloadhttps://github.com/RustPython/RustPython/pull/5604
Reloadhttps://github.com/RustPython/RustPython/pull/5604
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.4k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 21.7k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 276 https://github.com/RustPython/RustPython/issues
Pull requests 92 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects 0 https://github.com/RustPython/RustPython/projects
Wiki https://github.com/RustPython/RustPython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/RustPython/RustPython/security
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
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
Wiki https://github.com/RustPython/RustPython/wiki
Security https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/RustPython/RustPython/pull/5604#issue-comment-box
arihant2mathhttps://github.com/arihant2math
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
arihant2math:capihttps://github.com/arihant2math/RustPython/tree/capi
Initial C-api implementation https://github.com/RustPython/RustPython/pull/5604#top
arihant2mathhttps://github.com/arihant2math
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
arihant2math:capihttps://github.com/arihant2math/RustPython/tree/capi
Conversation 5 https://github.com/RustPython/RustPython/pull/5604
Commits 7 https://github.com/RustPython/RustPython/pull/5604/commits
Checks 11 https://github.com/RustPython/RustPython/pull/5604/checks
Files changed https://github.com/RustPython/RustPython/pull/5604/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Mar 12, 2025https://github.com/RustPython/RustPython/pull/5604#issue-2914539658
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
force-pushedhttps://github.com/RustPython/RustPython/compare/d4befd5bf71c832fd456937de326067a403a6b67..52404a247730925daa263d11754aae6942c02e2c
d4befd5https://github.com/RustPython/RustPython/commit/d4befd5bf71c832fd456937de326067a403a6b67
52404a2https://github.com/RustPython/RustPython/commit/52404a247730925daa263d11754aae6942c02e2c
Compare https://github.com/RustPython/RustPython/compare/d4befd5bf71c832fd456937de326067a403a6b67..52404a247730925daa263d11754aae6942c02e2c
March 22, 2025 02:12https://github.com/RustPython/RustPython/pull/5604#event-16937939182
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Mar 22, 2025https://github.com/RustPython/RustPython/pull/5604#event-16939134537
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
March 22, 2025 20:58https://github.com/RustPython/RustPython/pull/5604#event-16942052277
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
force-pushedhttps://github.com/RustPython/RustPython/compare/9a4197618290e573ed26110a29df8613a0f48222..8b9ab667041698f1aadd0b68cbc67217fcc89f84
9a41976https://github.com/RustPython/RustPython/commit/9a4197618290e573ed26110a29df8613a0f48222
8b9ab66https://github.com/RustPython/RustPython/commit/8b9ab667041698f1aadd0b68cbc67217fcc89f84
Compare https://github.com/RustPython/RustPython/compare/9a4197618290e573ed26110a29df8613a0f48222..8b9ab667041698f1aadd0b68cbc67217fcc89f84
March 30, 2025 20:56https://github.com/RustPython/RustPython/pull/5604#event-17048980125
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Mar 31, 2025https://github.com/RustPython/RustPython/pull/5604#issuecomment-2766908659
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Apr 5, 2025 https://github.com/RustPython/RustPython/pull/5604#ref-issue-370276965
How to deal with C-API extensions? #158 https://github.com/RustPython/RustPython/issues/158
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
force-pushedhttps://github.com/RustPython/RustPython/compare/73b46147315f1290c69034acdf6a1e7011a4b929..4905bf23da0a9cdbb928cc8cd87ddbd354f2ab35
73b4614https://github.com/RustPython/RustPython/commit/73b46147315f1290c69034acdf6a1e7011a4b929
4905bf2https://github.com/RustPython/RustPython/commit/4905bf23da0a9cdbb928cc8cd87ddbd354f2ab35
Compare https://github.com/RustPython/RustPython/compare/73b46147315f1290c69034acdf6a1e7011a4b929..4905bf23da0a9cdbb928cc8cd87ddbd354f2ab35
April 8, 2025 17:51https://github.com/RustPython/RustPython/pull/5604#event-17175591225
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Apr 8, 2025https://github.com/RustPython/RustPython/pull/5604#event-17175593813
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
force-pushedhttps://github.com/RustPython/RustPython/compare/143bb86f7a0b07bf89593347c36003e61b12ab67..79ac3ca5a2ac549a5acc4c8736cfff2c8fb0a43a
143bb86https://github.com/RustPython/RustPython/commit/143bb86f7a0b07bf89593347c36003e61b12ab67
79ac3cahttps://github.com/RustPython/RustPython/commit/79ac3ca5a2ac549a5acc4c8736cfff2c8fb0a43a
Compare https://github.com/RustPython/RustPython/compare/143bb86f7a0b07bf89593347c36003e61b12ab67..79ac3ca5a2ac549a5acc4c8736cfff2c8fb0a43a
April 11, 2025 01:15https://github.com/RustPython/RustPython/pull/5604#event-17216068527
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Apr 11, 2025https://github.com/RustPython/RustPython/pull/5604#issuecomment-2795599085
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Apr 11, 2025https://github.com/RustPython/RustPython/pull/5604#issuecomment-2795605631
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Apr 12, 2025https://github.com/RustPython/RustPython/pull/5604#issuecomment-2798441116
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
force-pushedhttps://github.com/RustPython/RustPython/compare/79ac3ca5a2ac549a5acc4c8736cfff2c8fb0a43a..24543efa2e724882a94e62f5ec54689e7225b1fb
79ac3cahttps://github.com/RustPython/RustPython/commit/79ac3ca5a2ac549a5acc4c8736cfff2c8fb0a43a
24543efhttps://github.com/RustPython/RustPython/commit/24543efa2e724882a94e62f5ec54689e7225b1fb
Compare https://github.com/RustPython/RustPython/compare/79ac3ca5a2ac549a5acc4c8736cfff2c8fb0a43a..24543efa2e724882a94e62f5ec54689e7225b1fb
April 14, 2025 17:29https://github.com/RustPython/RustPython/pull/5604#event-17253019767
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
Apr 14, 2025https://github.com/RustPython/RustPython/pull/5604#issuecomment-2802407984
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
arihant2mathhttps://github.com/arihant2math
April 17, 2025 11:56https://github.com/RustPython/RustPython/pull/5604#commits-pushed-0bb4331
https://github.com/arihant2math
initial capihttps://github.com/RustPython/RustPython/pull/5604/commits/0bb43315cf43e401029386a380932b865c6f1826
0bb4331https://github.com/RustPython/RustPython/pull/5604/commits/0bb43315cf43e401029386a380932b865c6f1826
https://github.com/arihant2math
add cdylib output to c-apihttps://github.com/RustPython/RustPython/pull/5604/commits/46a35cc58ed43128d2413dbae8c0750631ec58be
46a35cchttps://github.com/RustPython/RustPython/pull/5604/commits/46a35cc58ed43128d2413dbae8c0750631ec58be
https://github.com/arihant2math
add interpreter embedding commandshttps://github.com/RustPython/RustPython/pull/5604/commits/6913dc06b0c222ca9e203dd55a456868729b2f42
6913dc0https://github.com/RustPython/RustPython/pull/5604/commits/6913dc06b0c222ca9e203dd55a456868729b2f42
https://github.com/arihant2math
clippy fixeshttps://github.com/RustPython/RustPython/pull/5604/commits/94ba8949163053085d77c1554bc428858d8471c0
94ba894https://github.com/RustPython/RustPython/pull/5604/commits/94ba8949163053085d77c1554bc428858d8471c0
https://github.com/arihant2math
implement more of the concrete object layerhttps://github.com/RustPython/RustPython/pull/5604/commits/d520d5f4a4ebf0dfec2cd494d68015b344bdfdd2
d520d5fhttps://github.com/RustPython/RustPython/pull/5604/commits/d520d5f4a4ebf0dfec2cd494d68015b344bdfdd2
https://github.com/arihant2math
fix cspellhttps://github.com/RustPython/RustPython/pull/5604/commits/a2779d461156fa8e05e6448d8a8e772800a3d75c
a2779d4https://github.com/RustPython/RustPython/pull/5604/commits/a2779d461156fa8e05e6448d8a8e772800a3d75c
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
force-pushedhttps://github.com/RustPython/RustPython/compare/b1fc2907b7be85b6b942d578e4eec5ec97bb65ad..a2779d461156fa8e05e6448d8a8e772800a3d75c
b1fc290https://github.com/RustPython/RustPython/commit/b1fc2907b7be85b6b942d578e4eec5ec97bb65ad
a2779d4https://github.com/RustPython/RustPython/commit/a2779d461156fa8e05e6448d8a8e772800a3d75c
Compare https://github.com/RustPython/RustPython/compare/b1fc2907b7be85b6b942d578e4eec5ec97bb65ad..a2779d461156fa8e05e6448d8a8e772800a3d75c
April 17, 2025 19:02https://github.com/RustPython/RustPython/pull/5604#event-17310620787
https://github.com/arihant2math
add C import base (not fledged out yet)https://github.com/RustPython/RustPython/pull/5604/commits/b6a07c3e8cf9cc8b666a88ec5484e74f03ac9c23
b6a07c3https://github.com/RustPython/RustPython/pull/5604/commits/b6a07c3e8cf9cc8b666a88ec5484e74f03ac9c23
https://github.com/arihant2math
arihant2mathhttps://github.com/arihant2math
C-enhancement https://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3AC-enhancement
Apr 21, 2025https://github.com/RustPython/RustPython/pull/5604#event-17333621149
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%2F5604
C-enhancement https://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3AC-enhancement
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5604
https://github.com/arihant2math
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.