Title: Fix isinstance by youknowone · Pull Request #5869 · RustPython/RustPython · GitHub
Open Graph Title: Fix isinstance by youknowone · Pull Request #5869 · RustPython/RustPython
X Title: Fix isinstance by youknowone · Pull Request #5869 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Introduced a new method for special method lookup that mimics CPython's behavior, allowing attribute retrieval in the type's method resolution order without raising exceptions. Refactor Improved the logic and safety of subclass and instance checks, making the behavior more consistent with CPython and removing unsafe code patterns.
Open Graph Description: Summary by CodeRabbit New Features Introduced a new method for special method lookup that mimics CPython's behavior, allowing attribute retrieval in the type's method resolution order wit...
X Description: Summary by CodeRabbit New Features Introduced a new method for special method lookup that mimics CPython's behavior, allowing attribute retrieval in the type's method resolution o...
Opengraph URL: https://github.com/RustPython/RustPython/pull/5869
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f1368b1e-4400-c89d-a51e-39e83d25d42d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9A9A:1BEA8C:89543:B8290:6A628840 |
| html-safe-nonce | 8f0ccb04047a5befdf637ce3ce11a5f9cb23437727d1e53516f627b99a24a7c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTlBOjFCRUE4Qzo4OTU0MzpCODI5MDo2QTYyODg0MCIsInZpc2l0b3JfaWQiOiI2MTI3MTMwOTEyNzAwODQ2NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5eafd7a5737642aefb75bb5ddfcba1f370a03edb837964e41e18da11c03d1da8 |
| hovercard-subject-tag | pull_request:2627405216 |
| 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/5869/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 Introduced a new method for special method lookup that mimics CPython's behavior, allowing attribute retrieval in the type's method resolution order wit... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a4ef49a11a2c05de16a801b29c54a151d2e3262d6fd17381ca13b5ae25dda8f |
| 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 | 97b18c8f1d2683a31995fd6e802daf9bf0d4d3f0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width