Title: [spec] conceptual foundation and glossary entries for variance · Issue #1797 · python/typing · GitHub
Open Graph Title: [spec] conceptual foundation and glossary entries for variance · Issue #1797 · python/typing
X Title: [spec] conceptual foundation and glossary entries for variance · Issue #1797 · python/typing
Description: Currently the section on variance says: A longer introduction to these concepts can be found on Wikipedia and in PEP 483; here we just show how to control a type checker’s behavior. Now that we have a core concepts section in the spec, i...
Open Graph Description: Currently the section on variance says: A longer introduction to these concepts can be found on Wikipedia and in PEP 483; here we just show how to control a type checker’s behavior. Now that we hav...
X Description: Currently the section on variance says: A longer introduction to these concepts can be found on Wikipedia and in PEP 483; here we just show how to control a type checker’s behavior. Now that we hav...
Opengraph URL: https://github.com/python/typing/issues/1797
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[spec] conceptual foundation and glossary entries for variance","articleBody":"Currently the [section on variance](https://typing.readthedocs.io/en/latest/spec/generics.html#variance) says:\r\n\r\n> A longer introduction to these concepts can be found on [Wikipedia](https://en.wikipedia.org/wiki/Covariance_and_contravariance_%28computer_science%29) and in [PEP 483](https://peps.python.org/pep-0483/); here we just show how to control a type checker’s behavior.\r\n\r\nNow that we have a core concepts section in the spec, it would be good for the spec to also derive the rationale for variance from those core concepts, rather than deferring to the (ten-year-old and not updatable) PEP 483.\r\n\r\nWe should also add glossary entries for variance terminology: invariant, covariant, contravariant, and variance.\r\n","author":{"url":"https://github.com/carljm","@type":"Person","name":"carljm"},"datePublished":"2024-07-12T22:41:42Z","url":"https://github.com/python/typing/issues/1797"}
| 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:5bea9083-23eb-338e-58ba-6dcbde493ed9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B156:145630:13B79BA:191131A:6AFF9C39 |
| html-safe-nonce | 239f30a610081ee11e7166d3d6e02d4a84d14d29eeb2f64ae4c557c93b7c469f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTU2OjE0NTYzMDoxM0I3OUJBOjE5MTEzMUE6NkFGRjlDMzkiLCJ2aXNpdG9yX2lkIjoiNDM4MDQzODMwNjYyNjcwNjQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 135715f77cf23aed4f76f4a84e8b3e448e30f09269fca834bc6c9b7ed9974cc7 |
| hovercard-subject-tag | issue:2406438228 |
| 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/typing/1797/issue_layout |
| twitter:image | https://opengraph.githubassets.com/93127fd66ded79cdbcada804a0558421c736046b30a0570207a71735279c8a9a/python/typing/issues/1797 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/93127fd66ded79cdbcada804a0558421c736046b30a0570207a71735279c8a9a/python/typing/issues/1797 |
| og:image:alt | Currently the section on variance says: A longer introduction to these concepts can be found on Wikipedia and in PEP 483; here we just show how to control a type checker’s behavior. Now that we hav... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carljm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2c75d045e8c84b51e2ac680086a6dd1eeaf2bc15b82137d22ee5106835d6256c |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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 | 525b66d22c4f7e6bb8b62934bec198964f7e8b93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width