Title: Skip __class__ lookup in object_isinstance for standard getattro by youknowone · Pull Request #7303 · RustPython/RustPython · GitHub
Open Graph Title: Skip __class__ lookup in object_isinstance for standard getattro by youknowone · Pull Request #7303 · RustPython/RustPython
X Title: Skip __class__ lookup in object_isinstance for standard getattro by youknowone · Pull Request #7303 · RustPython/RustPython
Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Open Graph Description: In object_isinstance(), when is_subtype() returns false, the class attribute lookup via get_attribute_opt is redundant for objects using standard getattribute, since class is a data descriptor on o...
X Description: In object_isinstance(), when is_subtype() returns false, the class attribute lookup via get_attribute_opt is redundant for objects using standard getattribute, since class is a data descriptor on o...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7303
X: @github
Domain: github.com
| 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:72b6262d-c376-8a92-693b-4cbcefaed7c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C52A:38349B:5385BD:72820A:6A6271B1 |
| html-safe-nonce | a8eea9513c91fd3e8d50fff9ef5a275aabd6d3aab61864c945ff64fe41107895 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTJBOjM4MzQ5Qjo1Mzg1QkQ6NzI4MjBBOjZBNjI3MUIxIiwidmlzaXRvcl9pZCI6IjU3OTQ4OTcyMjMzMjgzNjI5MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 73463a363dcfbd26c709563b9f73b72e7ab3beee5469b96ad595394ef14a5f56 |
| hovercard-subject-tag | pull_request:3341189922 |
| 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/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/7303/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2c6d56ea5f442a062de9a8309dd77c5a93b6a62112e73268fe0c3f941e530134/RustPython/RustPython/pull/7303 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2c6d56ea5f442a062de9a8309dd77c5a93b6a62112e73268fe0c3f941e530134/RustPython/RustPython/pull/7303 |
| og:image:alt | In object_isinstance(), when is_subtype() returns false, the class attribute lookup via get_attribute_opt is redundant for objects using standard getattribute, since class is a data descriptor on o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 838e87bd0e4f5415707a930bc14e89e382dc2ea046e50ff575252eb2f2cb06a2 |
| 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 | f0081192f88523d2bf4cfdf22bb3e138affc4cd1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width