Title: Clarify signification of `Annotation` · Issue #1805 · python/typing · GitHub
Open Graph Title: Clarify signification of `Annotation` · Issue #1805 · python/typing
X Title: Clarify signification of `Annotation` · Issue #1805 · python/typing
Description: #1669 Clarified usage of Final in dataclasses. The following section was added: typing/docs/spec/qualifiers.rst Lines 179 to 181 in 42e9118 ``Final`` may be wrapped only by other type qualifiers (e.g. ``ClassVar`` or ``Annotation``). It ...
Open Graph Description: #1669 Clarified usage of Final in dataclasses. The following section was added: typing/docs/spec/qualifiers.rst Lines 179 to 181 in 42e9118 ``Final`` may be wrapped only by other type qualifiers (e...
X Description: #1669 Clarified usage of Final in dataclasses. The following section was added: typing/docs/spec/qualifiers.rst Lines 179 to 181 in 42e9118 ``Final`` may be wrapped only by other type qualifiers (e...
Opengraph URL: https://github.com/python/typing/issues/1805
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify signification of `Annotation`","articleBody":"https://github.com/python/typing/pull/1669 Clarified usage of `Final` in dataclasses. The following section was added:\r\n\r\nhttps://github.com/python/typing/blob/42e9118068944e63f4c321f26e4f37f5d77a6d59/docs/spec/qualifiers.rst?plain=1#L179-L181\r\n\r\nI believe `Annotation` means `Annotated`? If so, I can open a PR fixing this.\r\n\r\n---\r\n\r\nIdeally we could also update the [conformance tests](https://github.com/python/typing/pull/1741) to add an extra `final_annotated: Annotated[Final[int], ...]`. It will be interesting to see the output, as mypy seems [to reject it](https://mypy-play.net/?mypy=latest&python=3.12).","author":{"url":"https://github.com/Viicos","@type":"Person","name":"Viicos"},"datePublished":"2024-07-16T10:23:03Z","url":"https://github.com/python/typing/issues/1805"}
| 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:d0bf0b5e-323c-be04-90ec-99e944866ba4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 89AC:CEC0A:103E414:147F5B3:6AFF8A7C |
| html-safe-nonce | 1210e595837755d904e44352e2b0381affc19473fc26460776bec6d7e2605b33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUFDOkNFQzBBOjEwM0U0MTQ6MTQ3RjVCMzo2QUZGOEE3QyIsInZpc2l0b3JfaWQiOiI2MjcxODU3MDAwODcxNTk0NjIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e29294d5053ef620e8320612fb6667cec94976d5a64c29505da4ae0fdfdd34aa |
| hovercard-subject-tag | issue:2410783188 |
| 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/1805/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3f190061c6f884acea49d0bdb0d09a4539b53e2d7b330badd0c4f81662d8f22/python/typing/issues/1805 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3f190061c6f884acea49d0bdb0d09a4539b53e2d7b330badd0c4f81662d8f22/python/typing/issues/1805 |
| og:image:alt | #1669 Clarified usage of Final in dataclasses. The following section was added: typing/docs/spec/qualifiers.rst Lines 179 to 181 in 42e9118 ``Final`` may be wrapped only by other type qualifiers (e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Viicos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 587ad99a3e443b2e1cb0d3df059ec49ab54389861f13310766dfdeb615fed90d |
| 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 | 5bb0fb68d64881d1344f5863d809515d496801e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width