| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8546ea44-7a7a-f7c6-5c9d-a25cd21551a4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE9E:215B92:2F29DBA:3ED4A44:6B01DE4E |
| html-safe-nonce | 216f723c238a0a59c07bb32453166b763eb8d76b23bbefe9b366e3d8855919b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTlFOjIxNUI5MjoyRjI5REJBOjNFRDRBNDQ6NkIwMURFNEUiLCJ2aXNpdG9yX2lkIjoiMjkwODc3NzU0NjU4Nzk1NDc2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1865a8eff395a995b9ca8758f43f86abda3c8466103a6003c86f9a1f46f4efe9 |
| hovercard-subject-tag | pull_request:5165295886 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9723/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Summary
Follow up on #9679 by replacing the remaining native type-name identity decisions:
Restrict OSError errno dispatch and builtin set repr selection to the actual builtin types.
Compare ctype... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/9723/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9723%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9723%2Ffiles |
| 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%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/9723/files |
| Reload | https://github.com/RustPython/RustPython/pull/9723/files |
| Reload | https://github.com/RustPython/RustPython/pull/9723/files |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests133 (133) | 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 and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowdot:actual-type-identity-20261105 | https://github.com/youknowdot/RustPython/tree/actual-type-identity-20261105 |
|
Conversation
13
| https://github.com/RustPython/RustPython/pull/9723 |
|
Commits
7
| https://github.com/RustPython/RustPython/pull/9723/commits |
|
Checks
28
| https://github.com/RustPython/RustPython/pull/9723/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/9723/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9723/files |
|
Replace runtime type-name checks with type identity
| https://github.com/RustPython/RustPython/pull/9723/files#top |
|
Show all changes
7 commits
| https://github.com/RustPython/RustPython/pull/9723/files |
|
7c9de68
Replace runtime type-name checks with type identity
youknowdot Nov 5, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/7c9de6819fbd80a9430419aad016fea70b783c82 |
|
2ece3ac
Match CPython ctypes metadata and finalizer semantics
youknowdot Nov 5, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/2ece3ac4825c3547c664c0f52aee72e2d86edb7d |
|
a68fe9c
Complete ctypes restype deletion and Windows error handling
youknowdot Nov 5, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/a68fe9c7becea46a68b6f4d2095d84a5f07b33b8 |
|
9000469
Use class-local cached ctypes callback metadata
youknowdot Nov 5, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/90004698b40e041fd52734b05ed9dcd64d46aa48 |
|
e5dea97
Use cached ctypes argtypes for ordinary function calls
youknowdot Nov 5, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/e5dea97229b92b33a3ef91a4359ba96079f21cf3 |
|
5f5835b
Use public BaseException export in Windows COM initialization
youknowdot Nov 5, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/5f5835b730552f804fe34db9a0f3c2bba1c2b524 |
|
803a9cb
Preserve COMError initialization in Python subclasses
codex Nov 6, 2026
| https://github.com/RustPython/RustPython/pull/9723/commits/803a9cbbdf715b0e0c86c08264587286fd7514cf |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/9723/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9723/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9723/files |
|
test_win32_com_foreign_func.py
| https://github.com/RustPython/RustPython/pull/9723/files#diff-5c53d6053c592de0f9c19599c30996c8641235e1b106a29bf20be7b02e512277 |
|
ctypes.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-0c472fcbece94f09d8398d170b05bde9f0b147557347c454000d0a7252190fc8 |
|
set.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-ca3250b43726cb4327f8b4f6d413151036abc2f00f7c3197f55432013ca2c07f |
|
exceptions.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
_ctypes.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
base.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-16c64cd355bd8034d61677ad8e407239d548e0e35c48ee05e951e03e93aa1781 |
|
function.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d4cf72f95963a6d3e08f9e7e53594d6b5e2cc7711afbc0b490894d97dc8d8648 |
|
simple.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-640c11bed665f401309f30eaa8f59ef7ca4c930c57bc97dbf036e19030e1e64a |
|
slot.rs
| https://github.com/RustPython/RustPython/pull/9723/files#diff-1b5587c15bdfe9ff552fbc35e014eef20d6b7934fbb31b922cf35d87e8837b7b |
|
builtin_exceptions.py
| https://github.com/RustPython/RustPython/pull/9723/files#diff-9948afa9cc8e4a175f769771bdb1930355f76b99f3dface36d968c35561b7d1d |
|
builtin_set.py
| https://github.com/RustPython/RustPython/pull/9723/files#diff-49fd7f7d95c68ebdcf476b292e14e8698f1b0bf06c065fee93f13440128597b3 |
|
stdlib_ctypes.py
| https://github.com/RustPython/RustPython/pull/9723/files#diff-7cfa080a4c0c0eac19bf2bd0eea152938488bab4c8a8d1b1d7bbc14bce41a61c |
| Lib/test/test_ctypes/test_win32_com_foreign_func.py | https://github.com/RustPython/RustPython/pull/9723/files#diff-5c53d6053c592de0f9c19599c30996c8641235e1b106a29bf20be7b02e512277 |
|
View file
| https://github.com/youknowdot/RustPython/blob/803a9cbbdf715b0e0c86c08264587286fd7514cf/Lib/test/test_ctypes/test_win32_com_foreign_func.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9723/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-5c53d6053c592de0f9c19599c30996c8641235e1b106a29bf20be7b02e512277 |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-5c53d6053c592de0f9c19599c30996c8641235e1b106a29bf20be7b02e512277 |
| crates/host_env/src/ctypes.rs | https://github.com/RustPython/RustPython/pull/9723/files#diff-0c472fcbece94f09d8398d170b05bde9f0b147557347c454000d0a7252190fc8 |
|
View file
| https://github.com/youknowdot/RustPython/blob/803a9cbbdf715b0e0c86c08264587286fd7514cf/crates/host_env/src/ctypes.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9723/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-0c472fcbece94f09d8398d170b05bde9f0b147557347c454000d0a7252190fc8 |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-0c472fcbece94f09d8398d170b05bde9f0b147557347c454000d0a7252190fc8 |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-0c472fcbece94f09d8398d170b05bde9f0b147557347c454000d0a7252190fc8 |
| crates/vm/src/builtins/set.rs | https://github.com/RustPython/RustPython/pull/9723/files#diff-ca3250b43726cb4327f8b4f6d413151036abc2f00f7c3197f55432013ca2c07f |
|
View file
| https://github.com/youknowdot/RustPython/blob/803a9cbbdf715b0e0c86c08264587286fd7514cf/crates/vm/src/builtins/set.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9723/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-ca3250b43726cb4327f8b4f6d413151036abc2f00f7c3197f55432013ca2c07f |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-ca3250b43726cb4327f8b4f6d413151036abc2f00f7c3197f55432013ca2c07f |
| crates/vm/src/exceptions.rs | https://github.com/RustPython/RustPython/pull/9723/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
View file
| https://github.com/youknowdot/RustPython/blob/803a9cbbdf715b0e0c86c08264587286fd7514cf/crates/vm/src/exceptions.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9723/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
| crates/vm/src/stdlib/_ctypes.rs | https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
View file
| https://github.com/youknowdot/RustPython/blob/803a9cbbdf715b0e0c86c08264587286fd7514cf/crates/vm/src/stdlib/_ctypes.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9723/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
|
| https://github.com/RustPython/RustPython/pull/9723/files#diff-d2bf8c03d89a90728436dbecb8b7f929c67d08ff5d6e18b2a0fc279e8fe77a8d |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9723/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9723/files |
|
| 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 |