Title: Is `tuple` allowed as an argument to `type`? · Issue #2145 · python/typing · GitHub
Open Graph Title: Is `tuple` allowed as an argument to `type`? · Issue #2145 · python/typing
X Title: Is `tuple` allowed as an argument to `type`? · Issue #2145 · python/typing
Description: Conformance test: typing/conformance/tests/specialtypes_type.py Line 69 in 211b0cb func5(tuple) # OK Spec: typing/docs/spec/special-types.rst Lines 191 to 192 in 211b0cb Any other special constructs like ``tuple`` or ``Callable`` are not...
Open Graph Description: Conformance test: typing/conformance/tests/specialtypes_type.py Line 69 in 211b0cb func5(tuple) # OK Spec: typing/docs/spec/special-types.rst Lines 191 to 192 in 211b0cb Any other special construct...
X Description: Conformance test: typing/conformance/tests/specialtypes_type.py Line 69 in 211b0cb func5(tuple) # OK Spec: typing/docs/spec/special-types.rst Lines 191 to 192 in 211b0cb Any other special construct...
Opengraph URL: https://github.com/python/typing/issues/2145
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is `tuple` allowed as an argument to `type`?","articleBody":"Conformance test:\nhttps://github.com/python/typing/blob/211b0cb5470e856f6093f7c3d688295f72f78bb6/conformance/tests/specialtypes_type.py#L69\n\nSpec:\nhttps://github.com/python/typing/blob/211b0cb5470e856f6093f7c3d688295f72f78bb6/docs/spec/special-types.rst?plain=1#L191-L192\n\nThe conformance test seems to be in contradiction with the spec","author":{"url":"https://github.com/fangyi-zhou","@type":"Person","name":"fangyi-zhou"},"datePublished":"2026-01-05T23:02:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2145/typing/issues/2145"}
| 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:d44cfa69-8993-e4eb-d55a-5fecbaf828fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98A6:2310AA:172DCC0:1F3B4BD:696EACDF |
| html-safe-nonce | 195fd78dfa8ac210ecd0f6a3402931f4b4df285d4aae385ba7d0893bd0d01a7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEE2OjIzMTBBQToxNzJEQ0MwOjFGM0I0QkQ6Njk2RUFDREYiLCJ2aXNpdG9yX2lkIjoiMjMxOTAxMDMyODQ0NTEwMzMyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6f3a550b3a31ba128cb21969b86a05edbeff69c83b80503dc4360caf996515bf |
| hovercard-subject-tag | issue:3783109060 |
| 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/2145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0059b39e100769e9eca158409f47026fa026cbcd68b7cfec853af61f87d77291/python/typing/issues/2145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0059b39e100769e9eca158409f47026fa026cbcd68b7cfec853af61f87d77291/python/typing/issues/2145 |
| og:image:alt | Conformance test: typing/conformance/tests/specialtypes_type.py Line 69 in 211b0cb func5(tuple) # OK Spec: typing/docs/spec/special-types.rst Lines 191 to 192 in 211b0cb Any other special construct... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fangyi-zhou |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width