Title: bpo-45756: do not execute `@property` descrs while creating mock autospecs by sobolevn · Pull Request #29901 · python/cpython · GitHub
Open Graph Title: bpo-45756: do not execute `@property` descrs while creating mock autospecs by sobolevn · Pull Request #29901 · python/cpython
X Title: bpo-45756: do not execute `@property` descrs while creating mock autospecs by sobolevn · Pull Request #29901 · python/cpython
Description: In this PR I am trying to solve this corner case with inspect.getattr_static, so atrtibutes won't be actually resolved. I guess @property is special enough to skip it there. Any other similar cases, that we would need to fix (probably in the upcoming PRs)? https://bugs.python.org/issue45756 Related: https://bugs.python.org/issue41768
Open Graph Description: In this PR I am trying to solve this corner case with inspect.getattr_static, so atrtibutes won't be actually resolved. I guess @property is special enough to skip it there. Any other similar c...
X Description: In this PR I am trying to solve this corner case with inspect.getattr_static, so atrtibutes won't be actually resolved. I guess @property is special enough to skip it there. Any other simil...
Opengraph URL: https://github.com/python/cpython/pull/29901
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1f11b2b7-1877-4c3b-4366-c5ff63095609 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 80BA:DE287:14692EC:1B3FFD5:696ADEC3 |
| html-safe-nonce | e4d950756f2132fa15d41bf435b9eb2512c8e531c0f4328f748b2108b7e38544 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEJBOkRFMjg3OjE0NjkyRUM6MUIzRkZENTo2OTZBREVDMyIsInZpc2l0b3JfaWQiOiI1Njg0MjA5Mjg4OTU5NjgwMTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 23bd4353afdc736d22964013321f84fc03b099a7c1705c7a82fdcda626090525 |
| hovercard-subject-tag | pull_request:794371493 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/29901/checks |
| twitter:image | https://avatars.githubusercontent.com/u/4660275?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4660275?s=400&v=4 |
| og:image:alt | In this PR I am trying to solve this corner case with inspect.getattr_static, so atrtibutes won't be actually resolved. I guess @property is special enough to skip it there. Any other similar c... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width