Title: gh-92216: improve performance of hasattr for type objects by eendebakpt · Pull Request #99977 · python/cpython · GitHub
Open Graph Title: gh-92216: improve performance of hasattr for type objects by eendebakpt · Pull Request #99977 · python/cpython
X Title: gh-92216: improve performance of hasattr for type objects by eendebakpt · Pull Request #99977 · python/cpython
Description: Improve performance of hasattr for type objects by eliminating the generation of an exception. Issue: Performance of attribute lookup for type objects #92216
Open Graph Description: Improve performance of hasattr for type objects by eliminating the generation of an exception. Issue: Performance of attribute lookup for type objects #92216
X Description: Improve performance of hasattr for type objects by eliminating the generation of an exception. Issue: Performance of attribute lookup for type objects #92216
Opengraph URL: https://github.com/python/cpython/pull/99977
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:f3e1ffde-35fd-207a-0a7b-273491f11381 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC7E:1BE852:BAD5DB:FD1FD2:6969367E |
| html-safe-nonce | cd29d5a72f8ab2f19f759f0828a4fd3c0902b765772af0f84378201a059ca176 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzdFOjFCRTg1MjpCQUQ1REI6RkQxRkQyOjY5NjkzNjdFIiwidmlzaXRvcl9pZCI6IjM1ODc1NTQ4NTY2MjU4NDU4ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 79c5e7bc6b7f7ffe03a95d15eae43447e1d6b653cf271b00359e359eafe8d8d9 |
| hovercard-subject-tag | pull_request:1144484725 |
| 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/python/cpython/99977/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4fe6a33f041f80215419f2ca800a17a61677d3ccdd5f1c547994a89511e0e57d/python/cpython/pull/99977 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4fe6a33f041f80215419f2ca800a17a61677d3ccdd5f1c547994a89511e0e57d/python/cpython/pull/99977 |
| og:image:alt | Improve performance of hasattr for type objects by eliminating the generation of an exception. Issue: Performance of attribute lookup for type objects #92216 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eendebakpt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width