Title: gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` by brianschubert · Pull Request #138210 · python/cpython · GitHub
Open Graph Title: gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` by brianschubert · Pull Request #138210 · python/cpython
X Title: gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` by brianschubert · Pull Request #138210 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Issue: warnings.deprecated leads to incorrectly set _is_protocol on subclasses #138010
X Description: Issue: warnings.deprecated leads to incorrectly set _is_protocol on subclasses #138010
Opengraph URL: https://github.com/python/cpython/pull/138210
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:a1ba4809-31bf-d6aa-d9f6-d47841567604 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E78E:69662:389FFC7:4E0B46B:6A4F41CD |
| html-safe-nonce | e97809eb3040d069155b6a7e340c48b13e0f7b77c153f442b39e0508c0609288 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzhFOjY5NjYyOjM4OUZGQzc6NEUwQjQ2Qjo2QTRGNDFDRCIsInZpc2l0b3JfaWQiOiI0Nzc4MTM0MjgyMzExNzc4NzY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 62b3b16e5d62e8fa2ecedc64f1bffb8fbca8ecb6eb12b285c66a70671741fdee |
| hovercard-subject-tag | pull_request:2779640265 |
| 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/python/cpython/pull/138210/commits |
| twitter:image | https://opengraph.githubassets.com/15fe539fd3d485f768ed13666fbb161d2c13b041db99565f7e3d457d6e245fd5/python/cpython/pull/138210 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15fe539fd3d485f768ed13666fbb161d2c13b041db99565f7e3d457d6e245fd5/python/cpython/pull/138210 |
| og:image:alt | Issue: warnings.deprecated leads to incorrectly set _is_protocol on subclasses #138010 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brianschubert |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-cache |
| 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 | bd7117b1c6ffeee7d2cef27314e02d57ec87c011 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width