Title: using a ParamSpec as a base type causes crash · Issue #11218 · python/mypy · GitHub
Open Graph Title: using a ParamSpec as a base type causes crash · Issue #11218 · python/mypy
X Title: using a ParamSpec as a base type causes crash · Issue #11218 · python/mypy
Description: from typing import ParamSpec P = ParamSpec("P") class MyFunction(P): ... test.py:5: error: INTERNAL ERROR -- Please try using mypy master on Github: https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build ...
Open Graph Description: from typing import ParamSpec P = ParamSpec("P") class MyFunction(P): ... test.py:5: error: INTERNAL ERROR -- Please try using mypy master on Github: https://mypy.readthedocs.io/en/stable/common_iss...
X Description: from typing import ParamSpec P = ParamSpec("P") class MyFunction(P): ... test.py:5: error: INTERNAL ERROR -- Please try using mypy master on Github: https://mypy.readthedocs.io/en/stable/...
Opengraph URL: https://github.com/python/mypy/issues/11218
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"using a ParamSpec as a base type causes crash","articleBody":"```py\r\nfrom typing import ParamSpec\r\n\r\nP = ParamSpec(\"P\")\r\n\r\nclass MyFunction(P):\r\n ...\r\n```\r\n```\r\ntest.py:5: error: INTERNAL ERROR -- Please try using mypy master on Github:\r\nhttps://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build\r\nIf this issue continues with mypy master, please report a bug at https://github.com/python/mypy/issues\r\nversion: 0.920+dev.febec7123c839fce87815dbe847266596f985d72\r\n```","author":{"url":"https://github.com/KotlinIsland","@type":"Person","name":"KotlinIsland"},"datePublished":"2021-09-29T05:55:12Z","url":"https://github.com/python/mypy/issues/11218"}
| 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:240921da-3e14-4375-68f6-dc53e0eeb6ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A21C:4D728:2F9E272:3EBDB86:6B002555 |
| html-safe-nonce | 17cf7ad872b1471827c73e2d86c5a991c4bda95cb601228cf3c0550619ac4d47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjFDOjRENzI4OjJGOUUyNzI6M0VCREI4Njo2QjAwMjU1NSIsInZpc2l0b3JfaWQiOiI4MTQ3MjUwODYyODk3NTA1NjIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6128d8a6c37995a2d01bc9b7952478a7fa64ca182ce79df551c7500c016ccbe5 |
| hovercard-subject-tag | issue:1010519434 |
| 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/11218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83be713c7cd455b6398436dae989b8de0450ef15c3559b42270344b034de051e/python/mypy/issues/11218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83be713c7cd455b6398436dae989b8de0450ef15c3559b42270344b034de051e/python/mypy/issues/11218 |
| og:image:alt | from typing import ParamSpec P = ParamSpec("P") class MyFunction(P): ... test.py:5: error: INTERNAL ERROR -- Please try using mypy master on Github: https://mypy.readthedocs.io/en/stable/common_iss... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KotlinIsland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width