Title: Check attributes for variance violations · Issue #735 · python/mypy · GitHub
Open Graph Title: Check attributes for variance violations · Issue #735 · python/mypy
X Title: Check attributes for variance violations · Issue #735 · python/mypy
Description: Similar to #734, but for attributes. In a covariant class an instance attribute with type List[T] would not be valid, since List is invariant.
Open Graph Description: Similar to #734, but for attributes. In a covariant class an instance attribute with type List[T] would not be valid, since List is invariant.
X Description: Similar to #734, but for attributes. In a covariant class an instance attribute with type List[T] would not be valid, since List is invariant.
Opengraph URL: https://github.com/python/mypy/issues/735
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Check attributes for variance violations","articleBody":"Similar to #734, but for attributes. In a covariant class an instance attribute with type List[T] would not be valid, since List is invariant.\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2015-08-09T22:58:01Z","url":"https://github.com/python/mypy/issues/735"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fffc809a-820b-a4fb-fafc-4563f741f0ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0C6:3D844A:208C5E:29BFBC:6AFF94BF |
| html-safe-nonce | 9bcb50dccbe0d334f22d5982eed418d0cf71df57ecea6e12b9b662ac07f1d6a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEM2OjNEODQ0QToyMDhDNUU6MjlCRkJDOjZBRkY5NEJGIiwidmlzaXRvcl9pZCI6Ijg4NjgyMDA1NjQyMTU3NDc3NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d2a72784c931219c17757ad6b8b0d971a6e02a969a7c6ad129d70173e185a5aa |
| hovercard-subject-tag | issue:99938025 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/mypy/735/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d8b2271581d85e10c04352e7014e3a79daf7ec04e29eb31b63dca3ec29791f11/python/mypy/issues/735 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d8b2271581d85e10c04352e7014e3a79daf7ec04e29eb31b63dca3ec29791f11/python/mypy/issues/735 |
| og:image:alt | Similar to #734, but for attributes. In a covariant class an instance attribute with type List[T] would not be valid, since List is invariant. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2c75d045e8c84b51e2ac680086a6dd1eeaf2bc15b82137d22ee5106835d6256c |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | aa486b0389431f870c0adf9d4758aaff807c2d97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width