Title: Clarification: interaction between `@property` and `@final` · Issue #2336 · python/typing · GitHub
Open Graph Title: Clarification: interaction between `@property` and `@final` · Issue #2336 · python/typing
X Title: Clarification: interaction between `@property` and `@final` · Issue #2336 · python/typing
Description: The spec for @final says: The method decorator version may be used with all of instance methods, class methods, static methods, and properties. and it made me wonder how exactly final interacts with property. There are no conformance tes...
Open Graph Description: The spec for @final says: The method decorator version may be used with all of instance methods, class methods, static methods, and properties. and it made me wonder how exactly final interacts wit...
X Description: The spec for @final says: The method decorator version may be used with all of instance methods, class methods, static methods, and properties. and it made me wonder how exactly final interacts wit...
Opengraph URL: https://github.com/python/typing/issues/2336
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarification: interaction between `@property` and `@final`","articleBody":"The spec for [`@final`](https://typing.python.org/en/latest/spec/qualifiers.html#final) says:\n\n> The method decorator version may be used with all of instance methods, class methods, static methods, and properties.\n\nand it made me wonder how exactly final interacts with property. There are no conformance tests exercising this specific interaction.\n\nFrom carefully reading the spec, it seems like the only effect of `@final` on a property is to prevent it from being overridden in a child class, and that decorating a property with `@final` does not cause it to be read-only or disallow a setter. \n\nIs my understanding correct? If so, does it make sense to add a clarification to the spec that the decorator does not make a property read-only?\n\n","author":{"url":"https://github.com/yangdanny97","@type":"Person","name":"yangdanny97"},"datePublished":"2026-08-09T22:20:34Z","url":"https://github.com/python/typing/issues/2336"}
| 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:58e24351-14b2-ae60-3eb6-d08eb8acd128 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF42:3A1ACD:2557BA:308ADF:6AFF843B |
| html-safe-nonce | fe304c68b63eac6f01808967cfad9350266888992c1b810bbc6ae34fcc94f3fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjQyOjNBMUFDRDoyNTU3QkE6MzA4QURGOjZBRkY4NDNCIiwidmlzaXRvcl9pZCI6IjE4MjI4MjQ2NTM4MjM5MDI3NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 70b114615ea9443d09d1d8d47c153429a648fbd6c66540c176cef30fcf49df75 |
| hovercard-subject-tag | issue:5105025254 |
| 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/2336/issue_layout |
| twitter:image | https://opengraph.githubassets.com/595d2039d44bced0206afe26e2c037f5a476cac4aa6b2798b21d544a6efb9648/python/typing/issues/2336 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/595d2039d44bced0206afe26e2c037f5a476cac4aa6b2798b21d544a6efb9648/python/typing/issues/2336 |
| og:image:alt | The spec for @final says: The method decorator version may be used with all of instance methods, class methods, static methods, and properties. and it made me wonder how exactly final interacts wit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yangdanny97 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19488db4031f00b04ea79b4c70b5dd32cfa873a8d20b3877f3896b8e2d195946 |
| 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 | 7952f5285f4ba685d70c4c7540ad3cc9dc9746b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width