René's URL Explorer Experiment


Title: Add basic capi error support by bschoenmaeckers · Pull Request #7787 · RustPython/RustPython · GitHub

Open Graph Title: Add basic capi error support by bschoenmaeckers · Pull Request #7787 · RustPython/RustPython

X Title: Add basic capi error support by bschoenmaeckers · Pull Request #7787 · 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 Expanded C API for exceptio...

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 Expanded C API for exceptio...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:53f8d6bf-b55d-7e99-846f-7eb18b4d8c46
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA538:1A7259:88568F:B60FB3:6A5B423A
html-safe-nonce126284c5aa57077b9779e9ff37f6fd63457ce70497ef3b67f5791b0c1da8281c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTM4OjFBNzI1OTo4ODU2OEY6QjYwRkIzOjZBNUI0MjNBIiwidmlzaXRvcl9pZCI6IjU1MDE2NDI0NzQxNzQyMzUxOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacab134b6bde102da4d61075684139ab5ac54913267b323b54110aae64913ba397
hovercard-subject-tagpull_request:3632176520
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/7787/commits
twitter:imagehttps://opengraph.githubassets.com/bdec104a1a124e0efb8efe2c30c1f358db194496c2bfb66f2aee431171e653ce/RustPython/RustPython/pull/7787
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bdec104a1a124e0efb8efe2c30c1f358db194496c2bfb66f2aee431171e653ce/RustPython/RustPython/pull/7787
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 Expanded C API for exceptio...
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-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7787/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7787%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%2F7787%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/7787/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7787/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7787/commits
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7787/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 102 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
bschoenmaeckers:capi-errorshttps://github.com/bschoenmaeckers/RustPython/tree/capi-errors
Conversationhttps://github.com/RustPython/RustPython/pull/7787
Commits17 (17)https://github.com/RustPython/RustPython/pull/7787/commits
Checkshttps://github.com/RustPython/RustPython/pull/7787/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7787/files
Add basic capi error supporthttps://github.com/RustPython/RustPython/pull/7787/commits#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
bschoenmaeckers:capi-errorshttps://github.com/bschoenmaeckers/RustPython/tree/capi-errors
Add basic capi error supporthttps://github.com/RustPython/RustPython/pull/7787/commits/2562f9dd748e54fd5d467c300d9adb69fec06391
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
2562f9dhttps://github.com/RustPython/RustPython/pull/7787/commits/2562f9dd748e54fd5d467c300d9adb69fec06391
https://github.com/RustPython/RustPython/tree/2562f9dd748e54fd5d467c300d9adb69fec06391
Add missing symbols to make tests compile againhttps://github.com/RustPython/RustPython/pull/7787/commits/40d97ea83cf8bfca8c2b50197f775c3354f5e895
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
40d97eahttps://github.com/RustPython/RustPython/pull/7787/commits/40d97ea83cf8bfca8c2b50197f775c3354f5e895
https://github.com/RustPython/RustPython/tree/40d97ea83cf8bfca8c2b50197f775c3354f5e895
Add `pyerrors` to dictionaryhttps://github.com/RustPython/RustPython/pull/7787/commits/6b79cb5e06e56a5b4a5b6901f67fdbda60ee2e19
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
6b79cb5https://github.com/RustPython/RustPython/pull/7787/commits/6b79cb5e06e56a5b4a5b6901f67fdbda60ee2e19
https://github.com/RustPython/RustPython/tree/6b79cb5e06e56a5b4a5b6901f67fdbda60ee2e19
Return exception in `Py_GetConstantBorrowed`https://github.com/RustPython/RustPython/pull/7787/commits/71438c698f5c25303982c4a81c50bf3e3816fa51
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
71438c6https://github.com/RustPython/RustPython/pull/7787/commits/71438c698f5c25303982c4a81c50bf3e3816fa51
https://github.com/RustPython/RustPython/tree/71438c698f5c25303982c4a81c50bf3e3816fa51
Remove `allow(dead_code)`https://github.com/RustPython/RustPython/pull/7787/commits/d708bfe52f35524610de622eb6ffd401311df399
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
d708bfehttps://github.com/RustPython/RustPython/pull/7787/commits/d708bfe52f35524610de622eb6ffd401311df399
https://github.com/RustPython/RustPython/tree/d708bfe52f35524610de622eb6ffd401311df399
Fix windowshttps://github.com/RustPython/RustPython/pull/7787/commits/bbf365658b18722d8f5fca7235c51c6188b74508
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
bbf3656https://github.com/RustPython/RustPython/pull/7787/commits/bbf365658b18722d8f5fca7235c51c6188b74508
https://github.com/RustPython/RustPython/tree/bbf365658b18722d8f5fca7235c51c6188b74508
Load stdlib when calling `Py_InitializeEx`https://github.com/RustPython/RustPython/pull/7787/commits/bccd38e9816d4e4a8181b1bfc2d29fc90861044a
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
bccd38ehttps://github.com/RustPython/RustPython/pull/7787/commits/bccd38e9816d4e4a8181b1bfc2d29fc90861044a
https://github.com/RustPython/RustPython/tree/bccd38e9816d4e4a8181b1bfc2d29fc90861044a
Debug testshttps://github.com/RustPython/RustPython/pull/7787/commits/9e20cf7be626f4bbc6b7c9478dc0e43aa8c65c2f
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
9e20cf7https://github.com/RustPython/RustPython/pull/7787/commits/9e20cf7be626f4bbc6b7c9478dc0e43aa8c65c2f
https://github.com/RustPython/RustPython/tree/9e20cf7be626f4bbc6b7c9478dc0e43aa8c65c2f
Revert "Load stdlib when calling `Py_InitializeEx`"https://github.com/RustPython/RustPython/pull/7787/commits/268856b7fab6ae804aa03c7d35802029a6cdc981
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
268856bhttps://github.com/RustPython/RustPython/pull/7787/commits/268856b7fab6ae804aa03c7d35802029a6cdc981
https://github.com/RustPython/RustPython/tree/268856b7fab6ae804aa03c7d35802029a6cdc981
Disable tests on windows for nowhttps://github.com/RustPython/RustPython/pull/7787/commits/8432c1783af996b75974303f9f916c76945d51a5
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
8432c17https://github.com/RustPython/RustPython/pull/7787/commits/8432c1783af996b75974303f9f916c76945d51a5
https://github.com/RustPython/RustPython/tree/8432c1783af996b75974303f9f916c76945d51a5
Truncate `PyType_GetFlags` to be always 32 bitshttps://github.com/RustPython/RustPython/pull/7787/commits/130321e36fb27c867929bd23685f7e3c53e619db
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
130321ehttps://github.com/RustPython/RustPython/pull/7787/commits/130321e36fb27c867929bd23685f7e3c53e619db
https://github.com/RustPython/RustPython/tree/130321e36fb27c867929bd23685f7e3c53e619db
Add test for exception type checkinghttps://github.com/RustPython/RustPython/pull/7787/commits/30ac0610b1ffe627c9d8cbf2480d2ab4246ee539
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
30ac061https://github.com/RustPython/RustPython/pull/7787/commits/30ac0610b1ffe627c9d8cbf2480d2ab4246ee539
https://github.com/RustPython/RustPython/tree/30ac0610b1ffe627c9d8cbf2480d2ab4246ee539
Remove subclass type flagshttps://github.com/RustPython/RustPython/pull/7787/commits/4e4f7df6bd267bad857cc81e40d82173ec80573b
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
4e4f7dfhttps://github.com/RustPython/RustPython/pull/7787/commits/4e4f7df6bd267bad857cc81e40d82173ec80573b
https://github.com/RustPython/RustPython/tree/4e4f7df6bd267bad857cc81e40d82173ec80573b
Merge remote-tracking branch 'origin/main' into capi-errorshttps://github.com/RustPython/RustPython/pull/7787/commits/22985ca5603d1b1ff31c3e7f131eb81b76a833a2
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
22985cahttps://github.com/RustPython/RustPython/pull/7787/commits/22985ca5603d1b1ff31c3e7f131eb81b76a833a2
https://github.com/RustPython/RustPython/tree/22985ca5603d1b1ff31c3e7f131eb81b76a833a2
Use latest pyo3 to make test work on windowshttps://github.com/RustPython/RustPython/pull/7787/commits/b2c2f6913fc1c2dbacc607c1f1b2e5f37a4768eb
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
b2c2f69https://github.com/RustPython/RustPython/pull/7787/commits/b2c2f6913fc1c2dbacc607c1f1b2e5f37a4768eb
https://github.com/RustPython/RustPython/tree/b2c2f6913fc1c2dbacc607c1f1b2e5f37a4768eb
Revert "Use latest pyo3 to make test work on windows"https://github.com/RustPython/RustPython/pull/7787/commits/d18d259aa62c77714f8e2504e6d9931e36fe5744
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
d18d259https://github.com/RustPython/RustPython/pull/7787/commits/d18d259aa62c77714f8e2504e6d9931e36fe5744
https://github.com/RustPython/RustPython/tree/d18d259aa62c77714f8e2504e6d9931e36fe5744
`set_main_interpreter` -> `init_main_interpreter`https://github.com/RustPython/RustPython/pull/7787/commits/4e7bcbfced3e995be15494aa75de11d048e27948
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/RustPython/RustPython/commits?author=bschoenmaeckers
4e7bcbfhttps://github.com/RustPython/RustPython/pull/7787/commits/4e7bcbfced3e995be15494aa75de11d048e27948
https://github.com/RustPython/RustPython/tree/4e7bcbfced3e995be15494aa75de11d048e27948
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.