Title: --python-version 3.9 should warn about generic usages · Issue #10971 · python/mypy · GitHub
Open Graph Title: --python-version 3.9 should warn about generic usages · Issue #10971 · python/mypy
X Title: --python-version 3.9 should warn about generic usages · Issue #10971 · python/mypy
Description: Feature From the Python documentation: The redundant types are deprecated as of Python 3.9 but no deprecation warnings will be issued by the interpreter. It is expected that type checkers will flag the deprecated types when the checked p...
Open Graph Description: Feature From the Python documentation: The redundant types are deprecated as of Python 3.9 but no deprecation warnings will be issued by the interpreter. It is expected that type checkers will flag...
X Description: Feature From the Python documentation: The redundant types are deprecated as of Python 3.9 but no deprecation warnings will be issued by the interpreter. It is expected that type checkers will flag...
Opengraph URL: https://github.com/python/mypy/issues/10971
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--python-version 3.9 should warn about generic usages","articleBody":"**Feature**\r\n\r\nFrom the Python documentation:\r\n\r\n>The redundant types are deprecated as of Python 3.9 but no deprecation warnings will be issued by the interpreter. It is expected that type checkers will flag the deprecated types when the checked program targets Python 3.9 or newer.\r\n\r\nHowever that does not seem to be the case with `mypy` even if it's run with `--python-version 3.9`.\r\n\r\n**Pitch**\r\n\r\nCurrently there is no way to learn about these deprecation warnings in automated way, because they're not issued by anything, which makes making the code future-proof a hassle.","author":{"url":"https://github.com/rr-","@type":"Person","name":"rr-"},"datePublished":"2021-08-11T22:49:42Z","url":"https://github.com/python/mypy/issues/10971"}
| 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:365e7edc-6ffe-41fc-83f3-54e1e1a26330 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 948C:3F7C2E:54763:76EE7:6B00507E |
| html-safe-nonce | 2504ab2d3692514b532e5c00001250df1b1bd4c075152ffc8b9759a50cd2635d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDhDOjNGN0MyRTo1NDc2Mzo3NkVFNzo2QjAwNTA3RSIsInZpc2l0b3JfaWQiOiI1Mjc1MDU2MjczMjc5MTc2ODMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0da9f8bdc0b0aba0216de051905326931ab9dff72e71154a43adcf83ae2fb1bd |
| hovercard-subject-tag | issue:967602638 |
| 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/10971/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1cdc1f383bb1d6dfa985ebdfdce808e2e6fcaec97e93ddef9e8494b3ff4b5de9/python/mypy/issues/10971 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1cdc1f383bb1d6dfa985ebdfdce808e2e6fcaec97e93ddef9e8494b3ff4b5de9/python/mypy/issues/10971 |
| og:image:alt | Feature From the Python documentation: The redundant types are deprecated as of Python 3.9 but no deprecation warnings will be issued by the interpreter. It is expected that type checkers will flag... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rr- |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width