Title: Deprecate `typing.Text` · Issue #92332 · python/cpython · GitHub
Open Graph Title: Deprecate `typing.Text` · Issue #92332 · python/cpython
X Title: Deprecate `typing.Text` · Issue #92332 · python/cpython
Description: Feature or enhancement The typing module has a huge API, and new features continue to be added in each version of Python. Deprecations should be done carefully and slowly, to minimise disruption for users, but we should nonetheless aim t...
Open Graph Description: Feature or enhancement The typing module has a huge API, and new features continue to be added in each version of Python. Deprecations should be done carefully and slowly, to minimise disruption fo...
X Description: Feature or enhancement The typing module has a huge API, and new features continue to be added in each version of Python. Deprecations should be done carefully and slowly, to minimise disruption fo...
Opengraph URL: https://github.com/python/cpython/issues/92332
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate `typing.Text`","articleBody":"**Feature or enhancement**\r\n\r\nThe `typing` module has a huge API, and new features continue to be added in each version of Python. Deprecations should be done carefully and slowly, to minimise disruption for users, but we should nonetheless aim to shrink the API where features are no longer needed, so as to make the sheer size of the module less overwhelming for newcomers to Python typing.\r\n\r\nPython 2.7 is now end-of-life, so `typing.Text` has no use anymore (its sole purpose was to provide backwards compatibility with Python 2). I propose that we should now deprecate `typing.Text`, with a view to eventually removing it.","author":{"url":"https://github.com/AlexWaygood","@type":"Person","name":"AlexWaygood"},"datePublished":"2022-05-05T11:05:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/92332/cpython/issues/92332"}
| 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:664f758b-fe2b-4716-f523-ecc2ed0be59d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDEC:200E33:1DA619:29BBA0:696A056E |
| html-safe-nonce | b35716e530c9a8b64ea667638e212cba29b410edbfbc12ca0f6401b5e5237272 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREVDOjIwMEUzMzoxREE2MTk6MjlCQkEwOjY5NkEwNTZFIiwidmlzaXRvcl9pZCI6IjY2NzY4NTgyNjA2NDU2MTA4NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 060335084a7d1231d30f6e92b8f462b751125178d73470839ac289a83bd13382 |
| hovercard-subject-tag | issue:1226527349 |
| 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/cpython/92332/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87f42657931d3a149c617d8de2e7122cc3b94a408372149de4a233265977bd2f/python/cpython/issues/92332 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87f42657931d3a149c617d8de2e7122cc3b94a408372149de4a233265977bd2f/python/cpython/issues/92332 |
| og:image:alt | Feature or enhancement The typing module has a huge API, and new features continue to be added in each version of Python. Deprecations should be done carefully and slowly, to minimise disruption fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width