Title: Revert class lookup by youknowone · Pull Request #7306 · RustPython/RustPython · GitHub
Open Graph Title: Revert class lookup by youknowone · Pull Request #7306 · RustPython/RustPython
X Title: Revert class lookup by youknowone · Pull Request #7306 · RustPython/RustPython
Description: wrong optimization Summary by CodeRabbit Improvements Made isinstance/issubclass checks more consistent by always resolving an object’s class via attribute lookup. This reduces edge-case inconsistencies for objects with custom attribute access or modified class mechanisms, improving reliability and predictability when checking types across dynamic or altered class hierarchies.
Open Graph Description: wrong optimization Summary by CodeRabbit Improvements Made isinstance/issubclass checks more consistent by always resolving an object’s class via attribute lookup. This reduces edge-case inconsi...
X Description: wrong optimization Summary by CodeRabbit Improvements Made isinstance/issubclass checks more consistent by always resolving an object’s class via attribute lookup. This reduces edge-case inconsi...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7306
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e7e49f80-eb2f-141a-5459-71e5a7123301 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 950E:103F88:1079F6:162FDE:6A625CD1 |
| html-safe-nonce | 5836f6c9699ff16e28554b28300c0c590074d5149c8e60cabebc9e2883a01db2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTBFOjEwM0Y4ODoxMDc5RjY6MTYyRkRFOjZBNjI1Q0QxIiwidmlzaXRvcl9pZCI6IjIwODI2NzEyMTQ2MDM2ODkxNjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 425bcc5140ec01205cf0e43e061ba5a738e4cb03c8987ebc382fe890e0f344dc |
| hovercard-subject-tag | pull_request:3342208622 |
| 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/7306/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 | wrong optimization Summary by CodeRabbit Improvements Made isinstance/issubclass checks more consistent by always resolving an object’s class via attribute lookup. This reduces edge-case inconsi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d5cd56dfa7e7ed6718ba879da3c0d884bd8b5fecd3883b5f00dcb66b8b8680f |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d28abcf30a4025dfeef7673e1509edbc5d402c97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width