Title: Spec: PEP leftovers in the spec for literals · Issue #2355 · python/typing · GitHub
Open Graph Title: Spec: PEP leftovers in the spec for literals · Issue #2355 · python/typing
X Title: Spec: PEP leftovers in the spec for literals · Issue #2355 · python/typing
Description: There are some sections in the spec for literals that made sense as a rationale or look into the future in the PEP, but should be removed in the spec for conciseness, clarity, and consistency: An (incomplete) list of illegal parameters f...
Open Graph Description: There are some sections in the spec for literals that made sense as a rationale or look into the future in the PEP, but should be removed in the spec for conciseness, clarity, and consistency: An (...
X Description: There are some sections in the spec for literals that made sense as a rationale or look into the future in the PEP, but should be removed in the spec for conciseness, clarity, and consistency: An (...
Opengraph URL: https://github.com/python/typing/issues/2355
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Spec: PEP leftovers in the spec for literals","articleBody":"There are some sections in the spec for literals that made sense as a rationale or look into the future in the PEP, but should be removed in the spec for conciseness, clarity, and consistency:\n\n* An (incomplete) [list of illegal parameters](file:///home/srittau/Projekte/typing/docs/build/html/spec/literal.html#illegal-parameters-for-literal-at-type-check-time) for `Literal`. Since this immediately succeeds a positive, exclusive list of what parameters are allowed, this is just fluff and I believe the whole section should just be removed.\n* The next section is titled [\"Parameters at runtime\"](file:///home/srittau/Projekte/typing/docs/build/html/spec/literal.html#parameters-at-runtime) and details implementation details for `Literal`. These seem unnecessary for the typing spec and are in danger of getting desynched with the actual implementation.","author":{"url":"https://github.com/srittau","@type":"Person","name":"srittau"},"datePublished":"2026-09-01T11:14:43Z","url":"https://github.com/python/typing/issues/2355"}
| 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:d16f6c87-7aac-6a67-691d-6c11a5ef09cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D402:368D70:BD71E:F7A16:6AFF8002 |
| html-safe-nonce | ff805bb9612e9db23b7718869bbd54ebc3147f15e8829e3a7f97b72741aa7d46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDAyOjM2OEQ3MDpCRDcxRTpGN0ExNjo2QUZGODAwMiIsInZpc2l0b3JfaWQiOiI2NTQyNDIzODU1ODY3MDY4NDE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 20812d6128f4975376db0bb51c5838f5a2efcf7be8811af3008fd77279af9fa0 |
| hovercard-subject-tag | issue:5311114150 |
| 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/2355/issue_layout |
| twitter:image | https://opengraph.githubassets.com/edfc7626d4d39e3329bc35accbf70272e12391d1f64c6c44ae17d9a6c2f10304/python/typing/issues/2355 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edfc7626d4d39e3329bc35accbf70272e12391d1f64c6c44ae17d9a6c2f10304/python/typing/issues/2355 |
| og:image:alt | There are some sections in the spec for literals that made sense as a rationale or look into the future in the PEP, but should be removed in the spec for conciseness, clarity, and consistency: An (... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | srittau |
| 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