Title: [3.13] gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` (GH-138210) by brianschubert · Pull Request #138564 · python/cpython · GitHub
Open Graph Title: [3.13] gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` (GH-138210) by brianschubert · Pull Request #138564 · python/cpython
X Title: [3.13] gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` (GH-138210) by brianschubert · Pull Request #138564 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: (cherry picked from commit e2c038f) Issue: warnings.deprecated leads to incorrectly set _is_protocol on subclasses #138010
X Description: (cherry picked from commit e2c038f) Issue: warnings.deprecated leads to incorrectly set _is_protocol on subclasses #138010
Opengraph URL: https://github.com/python/cpython/pull/138564
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:08eb7ba0-5f25-856c-931e-f4c7a9fe550b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9AC8:14011B:40DB2E8:5BD7F31:6A4FADAB |
| html-safe-nonce | 8c7e42828884f6a74b3eca2959844638c51e81fa02af04547732e9173c4ff6a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUM4OjE0MDExQjo0MERCMkU4OjVCRDdGMzE6NkE0RkFEQUIiLCJ2aXNpdG9yX2lkIjoiNTM2MDQ2NzkxNzA2MTIwNTQxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2d97770111929cb52df81f78f34d053e343ffe74e15c53094fe1e2760e200cfc |
| hovercard-subject-tag | pull_request:2803645413 |
| 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/138564/checks |
| twitter:image | https://opengraph.githubassets.com/dc21cc716f2ae6f0423f3ae1d20caa066d4324d11e4534563c311a2215eee56f/python/cpython/pull/138564 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc21cc716f2ae6f0423f3ae1d20caa066d4324d11e4534563c311a2215eee56f/python/cpython/pull/138564 |
| og:image:alt | (cherry picked from commit e2c038f) 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width