René's URL Explorer Experiment


Title: Add c-api error handling by bschoenmaeckers · Pull Request #7784 · RustPython/RustPython · GitHub

Open Graph Title: Add c-api error handling by bschoenmaeckers · Pull Request #7784 · RustPython/RustPython

X Title: Add c-api error handling by bschoenmaeckers · Pull Request #7784 · RustPython/RustPython

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

Open Graph Description: This is the next step in adding c-api support. It also contains utilities to handle errors for implementing other c-api functions. Summary by CodeRabbit New Features Added optional C API suppor...

X Description: This is the next step in adding c-api support. It also contains utilities to handle errors for implementing other c-api functions. Summary by CodeRabbit New Features Added optional C API suppor...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:70b94959-87f3-734c-af90-b7a50552feca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94C4:C91EF:4DB7E1:68F0B6:6A5B6CF2
html-safe-noncecf38a1cb923e5c3883aedddf47a998e9023229da7c09978cfd422cc56367e90e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEM0OkM5MUVGOjREQjdFMTo2OEYwQjY6NkE1QjZDRjIiLCJ2aXNpdG9yX2lkIjoiNzI0OTMzMTMwNzYyOTIxMDg2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf5c3503889ec9220ff17b60f8b450b91289d53953c736b9a221cc159261674b5
hovercard-subject-tagpull_request:3632001703
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/7784/commits
twitter:imagehttps://opengraph.githubassets.com/9ca173557af57882a4202fee43cc3a96d4d34285fd0107028ce432c9ba2f3771/RustPython/RustPython/pull/7784
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ca173557af57882a4202fee43cc3a96d4d34285fd0107028ce432c9ba2f3771/RustPython/RustPython/pull/7784
og:image:altThis is the next step in adding c-api support. It also contains utilities to handle errors for implementing other c-api functions. Summary by CodeRabbit New Features Added optional C API suppor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebschoenmaeckers
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7784/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7784%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
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%2F7784%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/7784/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7784/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7784/commits
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7784/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 291 https://github.com/RustPython/RustPython/issues
Pull requests 103 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
bschoenmaeckershttps://github.com/bschoenmaeckers
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
bschoenmaeckers:capi-errorshttps://github.com/bschoenmaeckers/RustPython/tree/capi-errors
Conversationhttps://github.com/RustPython/RustPython/pull/7784
Commits12 (12)https://github.com/RustPython/RustPython/pull/7784/commits
Checkshttps://github.com/RustPython/RustPython/pull/7784/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7784/files
Add c-api error handlinghttps://github.com/RustPython/RustPython/pull/7784/commits#top
bschoenmaeckershttps://github.com/bschoenmaeckers
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
bschoenmaeckers:capi-errorshttps://github.com/bschoenmaeckers/RustPython/tree/capi-errors
Add minimal capi lifecycle supporthttps://github.com/RustPython/RustPython/pull/7784/commits/ff5c178eda3072bc971d5ecfcf5f82158f6f8a6b
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
ff5c178https://github.com/RustPython/RustPython/pull/7784/commits/ff5c178eda3072bc971d5ecfcf5f82158f6f8a6b
https://github.com/RustPython/RustPython/tree/ff5c178eda3072bc971d5ecfcf5f82158f6f8a6b
Mark refcount methods as unsafehttps://github.com/RustPython/RustPython/pull/7784/commits/131bb0e549b805da7537bf9c29acc322b8c0db47
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
131bb0ehttps://github.com/RustPython/RustPython/pull/7784/commits/131bb0e549b805da7537bf9c29acc322b8c0db47
https://github.com/RustPython/RustPython/tree/131bb0e549b805da7537bf9c29acc322b8c0db47
Fix clippy warningshttps://github.com/RustPython/RustPython/pull/7784/commits/14f3d5145dd5e299ce5a72c716c6a9a501f8ce14
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
14f3d51https://github.com/RustPython/RustPython/pull/7784/commits/14f3d5145dd5e299ce5a72c716c6a9a501f8ce14
https://github.com/RustPython/RustPython/tree/14f3d5145dd5e299ce5a72c716c6a9a501f8ce14
Force enable `threading` on `stdlib`https://github.com/RustPython/RustPython/pull/7784/commits/d1984b143d9146c341ec24422a9317162c7c9074
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
d1984b1https://github.com/RustPython/RustPython/pull/7784/commits/d1984b143d9146c341ec24422a9317162c7c9074
https://github.com/RustPython/RustPython/tree/d1984b143d9146c341ec24422a9317162c7c9074
Fix more clippy warningshttps://github.com/RustPython/RustPython/pull/7784/commits/20e75be06fc61ad977a746de59cc2a48ac5549f5
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
20e75behttps://github.com/RustPython/RustPython/pull/7784/commits/20e75be06fc61ad977a746de59cc2a48ac5549f5
https://github.com/RustPython/RustPython/tree/20e75be06fc61ad977a746de59cc2a48ac5549f5
Add capi support to `rustpython` executablehttps://github.com/RustPython/RustPython/pull/7784/commits/e6cfbb10aac7953ed154364a33b1ef471138207d
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
e6cfbb1https://github.com/RustPython/RustPython/pull/7784/commits/e6cfbb10aac7953ed154364a33b1ef471138207d
https://github.com/RustPython/RustPython/tree/e6cfbb10aac7953ed154364a33b1ef471138207d
Use `VM_CURRENT` when already activehttps://github.com/RustPython/RustPython/pull/7784/commits/e276364228a30e31c640de0de7b850ef23fe0e85
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
e276364https://github.com/RustPython/RustPython/pull/7784/commits/e276364228a30e31c640de0de7b850ef23fe0e85
https://github.com/RustPython/RustPython/tree/e276364228a30e31c640de0de7b850ef23fe0e85
Test that we do not create second vm when calling `PyGILState_Ensure`https://github.com/RustPython/RustPython/pull/7784/commits/92068933a96835f29ab1821d32ece072d36980b6
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
9206893https://github.com/RustPython/RustPython/pull/7784/commits/92068933a96835f29ab1821d32ece072d36980b6
https://github.com/RustPython/RustPython/tree/92068933a96835f29ab1821d32ece072d36980b6
Fix warningshttps://github.com/RustPython/RustPython/pull/7784/commits/4e8888877db989e87cae6df115cd136cd35bf466
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
4e88888https://github.com/RustPython/RustPython/pull/7784/commits/4e8888877db989e87cae6df115cd136cd35bf466
https://github.com/RustPython/RustPython/tree/4e8888877db989e87cae6df115cd136cd35bf466
Unify C API thread VM trackinghttps://github.com/RustPython/RustPython/pull/7784/commits/3e65cecea1c60fa2303454117bda99a67eadbe9f
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
3e65cechttps://github.com/RustPython/RustPython/pull/7784/commits/3e65cecea1c60fa2303454117bda99a67eadbe9f
https://github.com/RustPython/RustPython/tree/3e65cecea1c60fa2303454117bda99a67eadbe9f
Add `PYGILSTATE` to dictionaryhttps://github.com/RustPython/RustPython/pull/7784/commits/04416485ce16987b60f51bfdb4c019963ded310f
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
0441648https://github.com/RustPython/RustPython/pull/7784/commits/04416485ce16987b60f51bfdb4c019963ded310f
https://github.com/RustPython/RustPython/tree/04416485ce16987b60f51bfdb4c019963ded310f
Add basic capi error supporthttps://github.com/RustPython/RustPython/pull/7784/commits/61f4387951e0210615376722e03b3bd1dbc69f2d
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
61f4387https://github.com/RustPython/RustPython/pull/7784/commits/61f4387951e0210615376722e03b3bd1dbc69f2d
https://github.com/RustPython/RustPython/tree/61f4387951e0210615376722e03b3bd1dbc69f2d
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.