Title: Don't use non-generic tuple etc. in stubs · Issue #3309 · python/mypy · GitHub
Open Graph Title: Don't use non-generic tuple etc. in stubs · Issue #3309 · python/mypy
X Title: Don't use non-generic tuple etc. in stubs · Issue #3309 · python/mypy
Description: Many test fixtures use class tuple: pass or similar for list/dict (there may be others) even though these classes should be generic. If the corresponding Instance isn't generic, mypy may crash in some cases. We'd like to be able to asser...
Open Graph Description: Many test fixtures use class tuple: pass or similar for list/dict (there may be others) even though these classes should be generic. If the corresponding Instance isn't generic, mypy may crash in s...
X Description: Many test fixtures use class tuple: pass or similar for list/dict (there may be others) even though these classes should be generic. If the corresponding Instance isn't generic, mypy may crash ...
Opengraph URL: https://github.com/python/mypy/issues/3309
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Don't use non-generic tuple etc. in stubs","articleBody":"Many test fixtures use `class tuple: pass` or similar for `list`/`dict` (there may be others) even though these classes should be generic. If the corresponding `Instance` isn't generic, mypy may crash in some cases. We'd like to be able to assert that these are always generic without breaking tests. We should update the fixtures to make these always generic.\r\n\r\nMore discussion at https://github.com/python/mypy/pull/3305.","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2017-05-03T15:11:49Z","url":"https://github.com/python/mypy/issues/3309"}
| 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:20639d56-de74-8858-e145-5b870f5dfc9c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEF4:2ED6B1:3984B4:50A6BA:6B005E43 |
| html-safe-nonce | e7b44d655b4029020d2721495b27dab412cc33648bd5d39a536bb94f2cf607f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUY0OjJFRDZCMTozOTg0QjQ6NTBBNkJBOjZCMDA1RTQzIiwidmlzaXRvcl9pZCI6IjQyMzM0ODU4ODc5MDE3NzM0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 205ec79218982a0a9e3570aa56b9f07627ed4223bf2643b5b6d5261a1b734cb8 |
| hovercard-subject-tag | issue:226019994 |
| 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/3309/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44d9a8ef5b9fceb7c66c1b51b76b03e8ffc3159447b2cf15e0ff972c6e138b41/python/mypy/issues/3309 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44d9a8ef5b9fceb7c66c1b51b76b03e8ffc3159447b2cf15e0ff972c6e138b41/python/mypy/issues/3309 |
| og:image:alt | Many test fixtures use class tuple: pass or similar for list/dict (there may be others) even though these classes should be generic. If the corresponding Instance isn't generic, mypy may crash in s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width