Title: (🐞) Silent crash regression in 1.2 with complex `Concatenate` return value · Issue #15073 · python/mypy · GitHub
Open Graph Title: (🐞) Silent crash regression in 1.2 with complex `Concatenate` return value · Issue #15073 · python/mypy
X Title: (🐞) Silent crash regression in 1.2 with complex `Concatenate` return value · Issue #15073 · python/mypy
Description: Crash Report Absolutely nothing. Traceback N/A To Reproduce from typing import TypeVar, Callable, Concatenate, ParamSpec R = TypeVar("R") P = ParamSpec("P") def f( ) -> Callable[[Callable[Concatenate[Callable[P, R], P], R]], Callable[P, ...
Open Graph Description: Crash Report Absolutely nothing. Traceback N/A To Reproduce from typing import TypeVar, Callable, Concatenate, ParamSpec R = TypeVar("R") P = ParamSpec("P") def f( ) -> Callable[[Callable[Concatena...
X Description: Crash Report Absolutely nothing. Traceback N/A To Reproduce from typing import TypeVar, Callable, Concatenate, ParamSpec R = TypeVar("R") P = ParamSpec("P") def f( ) -> Calla...
Opengraph URL: https://github.com/python/mypy/issues/15073
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"(🐞) Silent crash regression in 1.2 with complex `Concatenate` return value","articleBody":"\u003c!--\r\n Use this form only if mypy reports an \"INTERNAL ERROR\" and/or gives a traceback.\r\n Please include the traceback and all other messages below (use `mypy --show-traceback`).\r\n-->\r\n\r\n**Crash Report**\r\n\r\nAbsolutely nothing.\r\n\r\n**Traceback**\r\n\r\nN/A\r\n\r\n**To Reproduce**\r\n\r\n```py\r\nfrom typing import TypeVar, Callable, Concatenate, ParamSpec\r\n\r\nR = TypeVar(\"R\")\r\nP = ParamSpec(\"P\")\r\n\r\ndef f(\r\n) -> Callable[[Callable[Concatenate[Callable[P, R], P], R]], Callable[P, R]]:\r\n def r(fn: Callable[Concatenate[Callable[P, R], P], R]) -> Callable[P, R]:\r\n pass\r\n return r\r\n```\r\n\r\n[playground](https://mypy-play.net/?mypy=latest&python=3.11&gist=48843af89909b2af64595b8f5c1477dc)\r\n\r\n**Your Environment**\r\n\r\n\u003c!-- Include as many relevant details about the environment you experienced the bug in -->\r\n\r\n- Mypy version used: 1.2.0\r\n- Mypy command-line flags: None\r\n- Mypy configuration options from `mypy.ini` (and other config files): None\r\n- Python version used: 3.11.3\r\n- Operating system and version: Windows version 10\r\n\r\n# Why?\r\n\r\nThis is because of an infinite recursion in `mypy.expandtype.ExpandTypeVisitor.visit_callable_type`.\r\n\r\n","author":{"url":"https://github.com/KotlinIsland","@type":"Person","name":"KotlinIsland"},"datePublished":"2023-04-18T09:15:19Z","url":"https://github.com/python/mypy/issues/15073"}
| 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:090e6d4f-5d6c-ae70-fae7-78a1e9e4efd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA26:3C2A9A:F14E76:13AB1BD:6AFFF187 |
| html-safe-nonce | 2a3bfda930c927f53db53f7d027209d233507747a639fe5feb910b6fad3f81d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTI2OjNDMkE5QTpGMTRFNzY6MTNBQjFCRDo2QUZGRjE4NyIsInZpc2l0b3JfaWQiOiI3OTk1NzMzMzY3NDA2NDU3MjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fccb1b531165207146bb54f056ec5bdbd58ea49832398ba3b34143d356a46340 |
| hovercard-subject-tag | issue:1672696506 |
| 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/15073/issue_layout |
| twitter:image | https://opengraph.githubassets.com/add5df7d48ae07fa8abbe6dc68a0bdae1993f830ea094c4c4583675f0c5ad708/python/mypy/issues/15073 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/add5df7d48ae07fa8abbe6dc68a0bdae1993f830ea094c4c4583675f0c5ad708/python/mypy/issues/15073 |
| og:image:alt | Crash Report Absolutely nothing. Traceback N/A To Reproduce from typing import TypeVar, Callable, Concatenate, ParamSpec R = TypeVar("R") P = ParamSpec("P") def f( ) -> Callable[[Callable[Concatena... |
| 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 | 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