Title: Make the meaning of "Error" clearer in the Generics docs · Issue #2384 · python/typing · GitHub
Open Graph Title: Make the meaning of "Error" clearer in the Generics docs · Issue #2384 · python/typing
X Title: Make the meaning of "Error" clearer in the Generics docs · Issue #2384 · python/typing
Description: I think the Generics docs is confusing in the way it describes errors. Currently, the following code comments are used: # INVALID # illegal # Error # Rejected # NOT valid # Not OK # Type error # Type checker error These don't distinguish...
Open Graph Description: I think the Generics docs is confusing in the way it describes errors. Currently, the following code comments are used: # INVALID # illegal # Error # Rejected # NOT valid # Not OK # Type error # Ty...
X Description: I think the Generics docs is confusing in the way it describes errors. Currently, the following code comments are used: # INVALID # illegal # Error # Rejected # NOT valid # Not OK # Type error # Ty...
Opengraph URL: https://github.com/python/typing/issues/2384
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make the meaning of \"Error\" clearer in the Generics docs","articleBody":"I think the [Generics docs](https://typing.python.org/en/latest/spec/generics.html) is confusing in the way it describes errors. Currently, the following code comments are used:\n- `# INVALID`\n- `# illegal`\n- `# Error`\n- `# Rejected`\n- `# NOT valid`\n- `# Not OK`\n- `# Type error`\n- `# Type checker error`\n\nThese don't distinguish between actual _runtime_ errors vs _type checker_ warnings in code examples. Only the last one is fully clear.\n\nWhat do we think?","author":{"url":"https://github.com/JadenV15","@type":"Person","name":"JadenV15"},"datePublished":"2026-11-02T13:51:09Z","url":"https://github.com/python/typing/issues/2384"}
| 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:e20ea487-2cb2-a7e8-2a4b-48e2db47aea9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB38:3BA3A0:20A864:2A3AF8:6AFF858F |
| html-safe-nonce | dfcfe447ae39f34c73d09372c3a5db5996e485d48c03e4690409c481691cbf4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjM4OjNCQTNBMDoyMEE4NjQ6MkEzQUY4OjZBRkY4NThGIiwidmlzaXRvcl9pZCI6IjU2Nzk4NDY5NTk0MjMxMjg5NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 43ee84154e53835f06aa905c0aa24e6cf0cd9f8a979946c72d839d2b3466fe1f |
| hovercard-subject-tag | issue:6163881588 |
| 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/2384/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee13c9b0b502d5165387cb2098ea6109eef8fdf13521e4cc5e0d1c1a01a3a219/python/typing/issues/2384 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee13c9b0b502d5165387cb2098ea6109eef8fdf13521e4cc5e0d1c1a01a3a219/python/typing/issues/2384 |
| og:image:alt | I think the Generics docs is confusing in the way it describes errors. Currently, the following code comments are used: # INVALID # illegal # Error # Rejected # NOT valid # Not OK # Type error # Ty... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JadenV15 |
| 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