Title: gh-98963: Restore the ability to have a dict-less property. by gpshead · Pull Request #105262 · python/cpython · GitHub
Open Graph Title: gh-98963: Restore the ability to have a dict-less property. by gpshead · Pull Request #105262 · python/cpython
X Title: gh-98963: Restore the ability to have a dict-less property. by gpshead · Pull Request #105262 · python/cpython
Description: Ignore doc string assignment failures in property as has been the behavior of all past Python releases. Preserves the one situation in which the AttributeError has always been raised for this property subclass situation: If the docstring would be applied from a getter function it raises rather than remaining silent. (see the existing test and code comments) This undoes a behavior regression present in 3.12beta1 that was causing existing widely used library code (Google protobuf) to fail. Issue: gh-98963
Open Graph Description: Ignore doc string assignment failures in property as has been the behavior of all past Python releases. Preserves the one situation in which the AttributeError has always been raised for this prope...
X Description: Ignore doc string assignment failures in property as has been the behavior of all past Python releases. Preserves the one situation in which the AttributeError has always been raised for this prope...
Opengraph URL: https://github.com/python/cpython/pull/105262
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:08cb9d88-067f-eca0-1f51-0b9011569bf4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B0AC:2C4B08:7B6D45:A69DC1:6969DDAF |
| html-safe-nonce | 2f177031ae307299565bd999047e9efee80a0a1a85c04ac9584fe1e615c50a54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEFDOjJDNEIwODo3QjZENDU6QTY5REMxOjY5NjlEREFGIiwidmlzaXRvcl9pZCI6Ijg0MDQ5OTY3OTM4MTExOTczNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 865d6d33107fed3e32df0fe71d69a20d74c365799f4dc86a8e03759be81b92f0 |
| hovercard-subject-tag | pull_request:1376496063 |
| 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/105262/checks |
| twitter:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| og:image:alt | Ignore doc string assignment failures in property as has been the behavior of all past Python releases. Preserves the one situation in which the AttributeError has always been raised for this prope... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width