Title: [docs] merge error code lists · Issue #20077 · python/mypy · GitHub
Open Graph Title: [docs] merge error code lists · Issue #20077 · python/mypy
X Title: [docs] merge error code lists · Issue #20077 · python/mypy
Description: Documentation error_code_list.rst and error_code_list2.rst should be merged. The main result of having two pages is that half the time I end up checking the wrong page if I don't know beforehand whether the code is enabled or disabled by...
Open Graph Description: Documentation error_code_list.rst and error_code_list2.rst should be merged. The main result of having two pages is that half the time I end up checking the wrong page if I don't know beforehand wh...
X Description: Documentation error_code_list.rst and error_code_list2.rst should be merged. The main result of having two pages is that half the time I end up checking the wrong page if I don't know beforehan...
Opengraph URL: https://github.com/python/mypy/issues/20077
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[docs] merge error code lists","articleBody":"**Documentation**\n\nerror_code_list.rst and error_code_list2.rst should be merged. The main result of having two pages is that half the time I end up checking the wrong page if I don't know beforehand whether the code is enabled or disabled by default. Instead, that enablement information should be documented in each entry (possibly also whether or not it's enabled by default in strict mode, ideally).\n\nTo elaborate a little, perhaps unnecessarily, I assume there are three types of interactions we could be designing the error codes page(s) for:\n\n1. People reading the documentation cover-to-cover, or similar. Having the error codes split up like this is probably useful to them, but I doubt this is a common interaction.\n2. People searching for the error codes using a search engine. These people probably get to the right page either way. While this is useful, usually I don't do this and I try to go directly to the error page, because a general search will sometimes give you unhelpful pages that just happened to mention the code \n3. People already on the page, using ctrl-f to cross-reference or find entries. I think this is a useful activity and it's greatly stymied by having them split apart on different pages.\n\nWhile we're at it, the current error_codes.rst could just be a preamble, and all three pages could be merged into one.\n\nIdeally, preservative redirects would be made. As in any documentation refactor.\n\n\n","author":{"url":"https://github.com/wyattscarpenter","@type":"Person","name":"wyattscarpenter"},"datePublished":"2025-10-16T16:03:43Z","url":"https://github.com/python/mypy/issues/20077"}
| 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:8036fb6e-477e-a40f-d453-415c6bec19f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2B2:15DE5D:CF058B:10E24A5:6AFFF703 |
| html-safe-nonce | 3309d7ca16691bc4e32d0bd1c11991babc8f70739f290fb0fcd35b0fad784c4a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkIyOjE1REU1RDpDRjA1OEI6MTBFMjRBNTo2QUZGRjcwMyIsInZpc2l0b3JfaWQiOiIzMjM0ODY5OTYyMTI0MjkzODkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6d710e683322ec9da9d8e948bb12d7996ad0c7c31c0c215d7dcf076bf683c295 |
| hovercard-subject-tag | issue:3522531065 |
| 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/20077/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1890e720f411828dbf671baec770a8e0b538491ceaecc5950a5d7dbe73b5ea93/python/mypy/issues/20077 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1890e720f411828dbf671baec770a8e0b538491ceaecc5950a5d7dbe73b5ea93/python/mypy/issues/20077 |
| og:image:alt | Documentation error_code_list.rst and error_code_list2.rst should be merged. The main result of having two pages is that half the time I end up checking the wrong page if I don't know beforehand wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wyattscarpenter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width