| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c89fe95a-934e-c8b4-c4eb-febf620dc360 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E254:130EDA:A6ADA5:EC28D9:6A5A1472 |
| html-safe-nonce | 20871ea8a89b4fa1dad5a09c1529cb1e4d85def82b97eb9ef88cb29f1ba2e7ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjU0OjEzMEVEQTpBNkFEQTU6RUMyOEQ5OjZBNUExNDcyIiwidmlzaXRvcl9pZCI6IjgxODQxNjg3MzQxOTQ0NTM2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd3bfa3c5a3a20740f93af57593bf65be26635e3b86972b716667c80dea7b2d1 |
| hovercard-subject-tag | pull_request:3676917527 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/7871/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f1a0478f6e3627861faef6f7a8d0bb1e95792b9ae77cd441de7d9708beb4d113/RustPython/RustPython/pull/7871 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f1a0478f6e3627861faef6f7a8d0bb1e95792b9ae77cd441de7d9708beb4d113/RustPython/RustPython/pull/7871 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bschoenmaeckers |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7 |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 501ec24a694e4933bb3d70e768b1461c0def57a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/RustPython/RustPython/pull/7871 |
| Reload | https://github.com/RustPython/RustPython/pull/7871 |
| Reload | https://github.com/RustPython/RustPython/pull/7871 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7871 |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://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 |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| bschoenmaeckers:c-api-type-check | https://github.com/bschoenmaeckers/RustPython/tree/c-api-type-check |
| Conversation | https://github.com/RustPython/RustPython/pull/7871 |
| Commits2 (2) | https://github.com/RustPython/RustPython/pull/7871/commits |
| Checks | https://github.com/RustPython/RustPython/pull/7871/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/7871/files |
| Add macro for type check functions in c-api | https://github.com/RustPython/RustPython/pull/7871#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| bschoenmaeckers:c-api-type-check | https://github.com/bschoenmaeckers/RustPython/tree/c-api-type-check |
|
| https://github.com/bschoenmaeckers |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| May 13, 2026 | https://github.com/RustPython/RustPython/pull/7871#issue-4438773092 |
| Please reload this page | https://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 page | https://github.com/RustPython/RustPython/pull/7871 |
| https://github.com/bschoenmaeckers |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| May 13, 2026 | https://github.com/RustPython/RustPython/pull/7871#event-25486815286 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| May 13, 2026 | https://github.com/RustPython/RustPython/pull/7871#issuecomment-4442143104 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7871 |
| 69b9f04 | https://github.com/RustPython/RustPython/commit/69b9f04394de5c7e05e79812102253b99587a164 |
| cc1455b | https://github.com/RustPython/RustPython/commit/cc1455b74c7ceb8cc7866f5dbf60592f6487689a |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7871 |
| X | https://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 |
| Mastodon | https://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 |
| Reddit | https://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 |
| LinkedIn | https://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 page | https://github.com/RustPython/RustPython/pull/7871 |
| https://github.com/youknowone |
| youknowone | https://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 |
| youknowone | https://github.com/youknowone |
| https://github.com/RustPython/RustPython/pull/7871#pullrequestreview-4287206118 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7871 |
| crates/capi/src/object.rs | https://github.com/RustPython/RustPython/pull/7871/files#diff-fe583114535c5e006ae5797e6bb26bf8ab5a13accf9ab4a0de27b2a99d34b63c |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7871 |
| https://github.com/bschoenmaeckers |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| force-pushed | https://github.com/RustPython/RustPython/compare/091172f00ce0ba8ef2b495eed5e5aa07adc749da..dc6d7eb4adfe5633fd1864929e12b37c72793e10 |
| 091172f | https://github.com/RustPython/RustPython/commit/091172f00ce0ba8ef2b495eed5e5aa07adc749da |
| dc6d7eb | https://github.com/RustPython/RustPython/commit/dc6d7eb4adfe5633fd1864929e12b37c72793e10 |
|
Compare
| https://github.com/RustPython/RustPython/compare/091172f00ce0ba8ef2b495eed5e5aa07adc749da..dc6d7eb4adfe5633fd1864929e12b37c72793e10 |
| May 16, 2026 11:11 | https://github.com/RustPython/RustPython/pull/7871#event-25607258649 |
| https://github.com/bschoenmaeckers |
| bschoenmaeckers | https://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 |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| force-pushed | https://github.com/RustPython/RustPython/compare/dc6d7eb4adfe5633fd1864929e12b37c72793e10..69b9f04394de5c7e05e79812102253b99587a164 |
| dc6d7eb | https://github.com/RustPython/RustPython/commit/dc6d7eb4adfe5633fd1864929e12b37c72793e10 |
| 69b9f04 | https://github.com/RustPython/RustPython/commit/69b9f04394de5c7e05e79812102253b99587a164 |
|
Compare
| https://github.com/RustPython/RustPython/compare/dc6d7eb4adfe5633fd1864929e12b37c72793e10..69b9f04394de5c7e05e79812102253b99587a164 |
| May 16, 2026 18:29 | https://github.com/RustPython/RustPython/pull/7871#event-25612974207 |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| May 17, 2026 13:34 | https://github.com/RustPython/RustPython/pull/7871#commits-pushed-f5f25ff |
|
| https://github.com/bschoenmaeckers |
| Add macro for type check function in c-api | https://github.com/RustPython/RustPython/pull/7871/commits/f5f25ffcabcfe9dbc2640b55dc36776d74133678 |
| f5f25ff | https://github.com/RustPython/RustPython/pull/7871/commits/f5f25ffcabcfe9dbc2640b55dc36776d74133678 |
|
| https://github.com/bschoenmaeckers |
| Add fn to macro | https://github.com/RustPython/RustPython/pull/7871/commits/cc1455b74c7ceb8cc7866f5dbf60592f6487689a |
| cc1455b | https://github.com/RustPython/RustPython/pull/7871/commits/cc1455b74c7ceb8cc7866f5dbf60592f6487689a |
| https://github.com/bschoenmaeckers |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| force-pushed | https://github.com/RustPython/RustPython/compare/69b9f04394de5c7e05e79812102253b99587a164..cc1455b74c7ceb8cc7866f5dbf60592f6487689a |
| 69b9f04 | https://github.com/RustPython/RustPython/commit/69b9f04394de5c7e05e79812102253b99587a164 |
| cc1455b | https://github.com/RustPython/RustPython/commit/cc1455b74c7ceb8cc7866f5dbf60592f6487689a |
|
Compare
| https://github.com/RustPython/RustPython/compare/69b9f04394de5c7e05e79812102253b99587a164..cc1455b74c7ceb8cc7866f5dbf60592f6487689a |
| May 17, 2026 11:34 | https://github.com/RustPython/RustPython/pull/7871#event-25625241152 |
| https://github.com/bschoenmaeckers |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| May 17, 2026 | https://github.com/RustPython/RustPython/pull/7871#issuecomment-4470492493 |
| @youknowone | https://github.com/youknowone |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7871 |
| https://github.com/youknowone |
| youknowone | https://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 |
| youknowone | https://github.com/youknowone |
| https://github.com/RustPython/RustPython/pull/7871#pullrequestreview-4305381845 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7871 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| May 17, 2026 11:53 | https://github.com/RustPython/RustPython/pull/7871#event-25625458582 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| a1a87dc | https://github.com/RustPython/RustPython/commit/a1a87dc8ca28da470756a977d61529970b6b4830 |
| May 17, 2026 | https://github.com/RustPython/RustPython/pull/7871#event-25626396722 |
| Please reload this page | https://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 |
| bschoenmaeckers | https://github.com/bschoenmaeckers |
| May 18, 2026 15:51 | https://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 |
| coderabbitai | https://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 |
| coderabbitai | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/RustPython/RustPython/pull/7871 |
|
| https://github.com/bschoenmaeckers |
|
| https://github.com/youknowone |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |