Title: bpo-46642: explicitly disallow typing.TypeVar instance subclassing by GBeauregard · Pull Request #31148 · python/cpython · GitHub
Open Graph Title: bpo-46642: explicitly disallow typing.TypeVar instance subclassing by GBeauregard · Pull Request #31148 · python/cpython
X Title: bpo-46642: explicitly disallow typing.TypeVar instance subclassing by GBeauregard · Pull Request #31148 · python/cpython
Description: The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. The way this test passed before this PR is almost certainly a bug (see the bpo issue) https://bugs.python.org/issue46642 Closes #90800.
Open Graph Description: The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. The way this test passed before this PR is almost certainly a bug (s...
X Description: The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. The way this test passed before this PR is almost certainly a bug (s...
Opengraph URL: https://github.com/python/cpython/pull/31148
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:381e09d5-ff3a-f0e1-256c-1452ddd66a9a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A4FC:2728FC:1B90527:24F80BE:6969B2E4 |
| html-safe-nonce | 6ef37aa53f45cb7c324692debc97c93d37f556550a068a12f2d143ea9d9f7bec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEZDOjI3MjhGQzoxQjkwNTI3OjI0RjgwQkU6Njk2OUIyRTQiLCJ2aXNpdG9yX2lkIjoiODgzNTc1MTM4MTg5MzIzMTMzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd2e719f646ff1432afd6f09e2bc6f7cd1ac68909bf73af915994188337e91f0 |
| hovercard-subject-tag | pull_request:840919281 |
| 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/31148/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1444900?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1444900?s=400&v=4 |
| og:image:alt | The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. The way this test passed before this PR is almost certainly a bug (s... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width