Title: Rework issubclass by youknowone · Pull Request #5867 · RustPython/RustPython · GitHub
Open Graph Title: Rework issubclass by youknowone · Pull Request #5867 · RustPython/RustPython
X Title: Rework issubclass by youknowone · Pull Request #5867 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Improved type and subtype checking for objects, providing more explicit and efficient checks. Enhanced validation for class objects, aligning behavior more closely with standard Python. Refactor Unified and clarified logic for class and subclass checks, improving error handling and matching Python’s semantics. Optimized subclass checking for single inheritance cases, reducing unnecessary recursion.
Open Graph Description: Summary by CodeRabbit New Features Improved type and subtype checking for objects, providing more explicit and efficient checks. Enhanced validation for class objects, aligning behavior more clo...
X Description: Summary by CodeRabbit New Features Improved type and subtype checking for objects, providing more explicit and efficient checks. Enhanced validation for class objects, aligning behavior more clo...
Opengraph URL: https://github.com/RustPython/RustPython/pull/5867
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1be0af86-1dd7-794f-5d37-58267f4153b2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D0DE:50D41:7FF55F:AEB14C:6A618728 |
| html-safe-nonce | c8ec665a54fd4224900c3a102c9fe45b29b45d7907eb5f7584eb4b16e74f0069 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMERFOjUwRDQxOjdGRjU1RjpBRUIxNEM6NkE2MTg3MjgiLCJ2aXNpdG9yX2lkIjoiNjEyOTc4MDM2MzE3Nzg1NDc2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3288106d27d101e0bc631c70049c17dc3e757b0c1ed1d6eb5280851d29533f8a |
| hovercard-subject-tag | pull_request:2626675628 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/5867/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Summary by CodeRabbit New Features Improved type and subtype checking for objects, providing more explicit and efficient checks. Enhanced validation for class objects, aligning behavior more clo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| 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 | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width