Title: Be less strict about "All conditional function variants must have identical signatures" · Issue #1168 · python/mypy · GitHub
Open Graph Title: Be less strict about "All conditional function variants must have identical signatures" · Issue #1168 · python/mypy
X Title: Be less strict about "All conditional function variants must have identical signatures" · Issue #1168 · python/mypy
Description: This is one of the followups on #649. Example code: try: from zlip import decompress except ImportError: def decompress(val): raise RuntimeError This produces "error: All conditional function variants must have identical signatures" on t...
Open Graph Description: This is one of the followups on #649. Example code: try: from zlip import decompress except ImportError: def decompress(val): raise RuntimeError This produces "error: All conditional function varia...
X Description: This is one of the followups on #649. Example code: try: from zlip import decompress except ImportError: def decompress(val): raise RuntimeError This produces "error: All conditional function ...
Opengraph URL: https://github.com/python/mypy/issues/1168
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Be less strict about \"All conditional function variants must have identical signatures\"","articleBody":"This is one of the followups on #649. Example code:\n\n```\ntry:\n from zlip import decompress\nexcept ImportError:\n def decompress(val):\n raise RuntimeError\n```\n\nThis produces \"error: All conditional function variants must have identical signatures\" on the `def` line. It would be nice if this were more lenient (e.g. computing the intersection of the imported definition and the given def).\n","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2016-01-27T19:27:15Z","url":"https://github.com/python/mypy/issues/1168"}
| 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:7c3e85fd-33d8-1668-c410-e176361dc2f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D95A:07D0:11955CA:170E13B:6B000CC3 |
| html-safe-nonce | cd7444ebc1bc43ef37dfc04a33a96e76afd761650d6509303af9cf94f4b148c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTVBOjA3RDA6MTE5NTVDQToxNzBFMTNCOjZCMDAwQ0MzIiwidmlzaXRvcl9pZCI6IjIyMTk2MDE3OTg1NzY5OTk2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d13da2db1aa941f5f946db4a859ab53ae4b3d1eb144076f0ebefcb86ac619b9 |
| hovercard-subject-tag | issue:129243892 |
| 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/1168/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a5e75fb023ba75052bc8967cc47847f191b2940ab0b9462c3f869dd03d4c03c2/python/mypy/issues/1168 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5e75fb023ba75052bc8967cc47847f191b2940ab0b9462c3f869dd03d4c03c2/python/mypy/issues/1168 |
| og:image:alt | This is one of the followups on #649. Example code: try: from zlip import decompress except ImportError: def decompress(val): raise RuntimeError This produces "error: All conditional function varia... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| hostname | github.com |
| expected-hostname | github.com |
| None | cf7ee0062053ad9eb05b6e5de57bd96c2055708bcbada4144946b5ec129cf1d7 |
| 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 | 9cab7de176a56362d2aabcbb4d1e07e846eba8a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width