René's URL Explorer Experiment


Title: Add macro for type check functions in c-api by bschoenmaeckers · Pull Request #7871 · RustPython/RustPython · GitHub

Open Graph Title: Add macro for type check functions in c-api by bschoenmaeckers · Pull Request #7871 · RustPython/RustPython

X Title: Add macro for type check functions in c-api by bschoenmaeckers · Pull Request #7871 · RustPython/RustPython

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

Open Graph Description: Summary by CodeRabbit New Features Added exported C API functions providing runtime type checks (exact-type and subtype checks) for extension modules. Introduced a C-accessible subtype query to i...

X Description: Summary by CodeRabbit New Features Added exported C API functions providing runtime type checks (exact-type and subtype checks) for extension modules. Introduced a C-accessible subtype query to i...

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

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:c89fe95a-934e-c8b4-c4eb-febf620dc360
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE254:130EDA:A6ADA5:EC28D9:6A5A1472
html-safe-nonce20871ea8a89b4fa1dad5a09c1529cb1e4d85def82b97eb9ef88cb29f1ba2e7ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjU0OjEzMEVEQTpBNkFEQTU6RUMyOEQ5OjZBNUExNDcyIiwidmlzaXRvcl9pZCI6IjgxODQxNjg3MzQxOTQ0NTM2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfd3bfa3c5a3a20740f93af57593bf65be26635e3b86972b716667c80dea7b2d1
hovercard-subject-tagpull_request:3676917527
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/7871/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f1a0478f6e3627861faef6f7a8d0bb1e95792b9ae77cd441de7d9708beb4d113/RustPython/RustPython/pull/7871
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f1a0478f6e3627861faef6f7a8d0bb1e95792b9ae77cd441de7d9708beb4d113/RustPython/RustPython/pull/7871
og:image:altSummary by CodeRabbit New Features Added exported C API functions providing runtime type checks (exact-type and subtype checks) for extension modules. Introduced a C-accessible subtype query to i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebschoenmaeckers
hostnamegithub.com
expected-hostnamegithub.com
None8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7
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
release501ec24a694e4933bb3d70e768b1461c0def57a2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7871#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7871
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%2F7871
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/7871
Reloadhttps://github.com/RustPython/RustPython/pull/7871
Reloadhttps://github.com/RustPython/RustPython/pull/7871
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
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 289 https://github.com/RustPython/RustPython/issues
Pull requests 100 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:c-api-type-checkhttps://github.com/bschoenmaeckers/RustPython/tree/c-api-type-check
Conversationhttps://github.com/RustPython/RustPython/pull/7871
Commits2 (2)https://github.com/RustPython/RustPython/pull/7871/commits
Checkshttps://github.com/RustPython/RustPython/pull/7871/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7871/files
Add macro for type check functions in c-apihttps://github.com/RustPython/RustPython/pull/7871#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
bschoenmaeckers:c-api-type-checkhttps://github.com/bschoenmaeckers/RustPython/tree/c-api-type-check
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 13, 2026https://github.com/RustPython/RustPython/pull/7871#issue-4438773092
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/7871?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 13, 2026https://github.com/RustPython/RustPython/pull/7871#event-25486815286
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 13, 2026https://github.com/RustPython/RustPython/pull/7871#issuecomment-4442143104
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
69b9f04https://github.com/RustPython/RustPython/commit/69b9f04394de5c7e05e79812102253b99587a164
cc1455bhttps://github.com/RustPython/RustPython/commit/cc1455b74c7ceb8cc7866f5dbf60592f6487689a
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7871
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 14, 2026 https://github.com/RustPython/RustPython/pull/7871#pullrequestreview-4287206118
View reviewed changes https://github.com/RustPython/RustPython/pull/7871/files
youknowonehttps://github.com/youknowone
https://github.com/RustPython/RustPython/pull/7871#pullrequestreview-4287206118
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
crates/capi/src/object.rshttps://github.com/RustPython/RustPython/pull/7871/files#diff-fe583114535c5e006ae5797e6bb26bf8ab5a13accf9ab4a0de27b2a99d34b63c
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
force-pushedhttps://github.com/RustPython/RustPython/compare/091172f00ce0ba8ef2b495eed5e5aa07adc749da..dc6d7eb4adfe5633fd1864929e12b37c72793e10
091172fhttps://github.com/RustPython/RustPython/commit/091172f00ce0ba8ef2b495eed5e5aa07adc749da
dc6d7ebhttps://github.com/RustPython/RustPython/commit/dc6d7eb4adfe5633fd1864929e12b37c72793e10
Compare https://github.com/RustPython/RustPython/compare/091172f00ce0ba8ef2b495eed5e5aa07adc749da..dc6d7eb4adfe5633fd1864929e12b37c72793e10
May 16, 2026 11:11https://github.com/RustPython/RustPython/pull/7871#event-25607258649
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 16, 2026 https://github.com/RustPython/RustPython/pull/7871#ref-issue-4406565681
Convert type check macro's to functions on the limited api capi-workgroup/decisions#105 https://github.com/capi-workgroup/decisions/issues/105
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
force-pushedhttps://github.com/RustPython/RustPython/compare/dc6d7eb4adfe5633fd1864929e12b37c72793e10..69b9f04394de5c7e05e79812102253b99587a164
dc6d7ebhttps://github.com/RustPython/RustPython/commit/dc6d7eb4adfe5633fd1864929e12b37c72793e10
69b9f04https://github.com/RustPython/RustPython/commit/69b9f04394de5c7e05e79812102253b99587a164
Compare https://github.com/RustPython/RustPython/compare/dc6d7eb4adfe5633fd1864929e12b37c72793e10..69b9f04394de5c7e05e79812102253b99587a164
May 16, 2026 18:29https://github.com/RustPython/RustPython/pull/7871#event-25612974207
bschoenmaeckershttps://github.com/bschoenmaeckers
May 17, 2026 13:34https://github.com/RustPython/RustPython/pull/7871#commits-pushed-f5f25ff
https://github.com/bschoenmaeckers
Add macro for type check function in c-apihttps://github.com/RustPython/RustPython/pull/7871/commits/f5f25ffcabcfe9dbc2640b55dc36776d74133678
f5f25ffhttps://github.com/RustPython/RustPython/pull/7871/commits/f5f25ffcabcfe9dbc2640b55dc36776d74133678
https://github.com/bschoenmaeckers
Add fn to macrohttps://github.com/RustPython/RustPython/pull/7871/commits/cc1455b74c7ceb8cc7866f5dbf60592f6487689a
cc1455bhttps://github.com/RustPython/RustPython/pull/7871/commits/cc1455b74c7ceb8cc7866f5dbf60592f6487689a
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
force-pushedhttps://github.com/RustPython/RustPython/compare/69b9f04394de5c7e05e79812102253b99587a164..cc1455b74c7ceb8cc7866f5dbf60592f6487689a
69b9f04https://github.com/RustPython/RustPython/commit/69b9f04394de5c7e05e79812102253b99587a164
cc1455bhttps://github.com/RustPython/RustPython/commit/cc1455b74c7ceb8cc7866f5dbf60592f6487689a
Compare https://github.com/RustPython/RustPython/compare/69b9f04394de5c7e05e79812102253b99587a164..cc1455b74c7ceb8cc7866f5dbf60592f6487689a
May 17, 2026 11:34https://github.com/RustPython/RustPython/pull/7871#event-25625241152
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 17, 2026https://github.com/RustPython/RustPython/pull/7871#issuecomment-4470492493
@youknowonehttps://github.com/youknowone
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 17, 2026 https://github.com/RustPython/RustPython/pull/7871#pullrequestreview-4305381845
View reviewed changes https://github.com/RustPython/RustPython/pull/7871/files/cc1455b74c7ceb8cc7866f5dbf60592f6487689a
youknowonehttps://github.com/youknowone
https://github.com/RustPython/RustPython/pull/7871#pullrequestreview-4305381845
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 17, 2026 11:53https://github.com/RustPython/RustPython/pull/7871#event-25625458582
https://github.com/youknowone
youknowonehttps://github.com/youknowone
a1a87dchttps://github.com/RustPython/RustPython/commit/a1a87dc8ca28da470756a977d61529970b6b4830
May 17, 2026https://github.com/RustPython/RustPython/pull/7871#event-25626396722
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
Add unicode & bytes c-api support #7904 https://github.com/RustPython/RustPython/pull/7904
Add integer c-api support #7905 https://github.com/RustPython/RustPython/pull/7905
Add tuple support to c-api #7907 https://github.com/RustPython/RustPython/pull/7907
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 18, 2026 15:51https://github.com/RustPython/RustPython/pull/7871#event-25665657488
Add more c-api error functions #7915 https://github.com/RustPython/RustPython/pull/7915
Add type name c-api functions #7925 https://github.com/RustPython/RustPython/pull/7925
Add basic dict function to c-api #7929 https://github.com/RustPython/RustPython/pull/7929
Add bool support to c-api #7938 https://github.com/RustPython/RustPython/pull/7938
Add float support to c-api #7943 https://github.com/RustPython/RustPython/pull/7943
Add list support to c-api #7944 https://github.com/RustPython/RustPython/pull/7944
Add set object functions to c-api #8002 https://github.com/RustPython/RustPython/pull/8002
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 4, 2026 https://github.com/RustPython/RustPython/pull/7871#ref-pullrequest-4587593846
Add more object functions to c-api #8042 https://github.com/RustPython/RustPython/pull/8042
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 7, 2026 https://github.com/RustPython/RustPython/pull/7871#ref-pullrequest-4829802243
Move type c-api functions #8233 https://github.com/RustPython/RustPython/pull/8233
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
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%2F7871
https://github.com/youknowone
youknowone https://github.com/youknowone
https://github.com/RustPython/RustPython/pull/7871/files/cc1455b74c7ceb8cc7866f5dbf60592f6487689a
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7871
https://github.com/bschoenmaeckers
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.