Title: mypy prints out types in inconsistent formats depending context · Issue #1582 · python/mypy · GitHub
Open Graph Title: mypy prints out types in inconsistent formats depending context · Issue #1582 · python/mypy
X Title: mypy prints out types in inconsistent formats depending context · Issue #1582 · python/mypy
Description: Mypy has several different ways types can be displayed: the internal representation, format_simple, etc. It's confusing that the same type can be printed differently in different places. Also,. none of these formats look quite like the P...
Open Graph Description: Mypy has several different ways types can be displayed: the internal representation, format_simple, etc. It's confusing that the same type can be printed differently in different places. Also,. non...
X Description: Mypy has several different ways types can be displayed: the internal representation, format_simple, etc. It's confusing that the same type can be printed differently in different places. Also,....
Opengraph URL: https://github.com/python/mypy/issues/1582
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy prints out types in inconsistent formats depending context","articleBody":"Mypy has several different ways types can be displayed: the internal representation, `format_simple`, etc. It's confusing that the same type can be printed differently in different places. Also,. none of these formats look quite like the PEP 484 syntax.\n\nIt'd be really nice to make one canonical way that types are printed, which should look exactly like the PEP 484 syntax (but with slight additional information about type variables when appropriate). I don't think this will even be too hard to write -- the main annoyance will be updating all the tests.\n","author":{"url":"https://github.com/ddfisher","@type":"Person","name":"ddfisher"},"datePublished":"2016-05-25T21:46:34Z","url":"https://github.com/python/mypy/issues/1582"}
| 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:ec4514e5-19c9-1907-2b7f-de79c2affb83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C436:186554:2C5A81:3C75AE:6B006A32 |
| html-safe-nonce | 10cb1e2632c59edbbed20f361e77772bd05c75ba34a85ca97588f26677b8de7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDM2OjE4NjU1NDoyQzVBODE6M0M3NUFFOjZCMDA2QTMyIiwidmlzaXRvcl9pZCI6IjEzMjcyNjYxMDg4MjYyMTcwMTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | df73f46f0cd7a06963bf7c3a3c2c5c73e53f6aa6540a9f8236b7b5b8a7695389 |
| hovercard-subject-tag | issue:156857879 |
| 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/1582/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bab92eb92871a9ca95b51a2d582b0fe32fe743df1d5add060550e7085d0d48df/python/mypy/issues/1582 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bab92eb92871a9ca95b51a2d582b0fe32fe743df1d5add060550e7085d0d48df/python/mypy/issues/1582 |
| og:image:alt | Mypy has several different ways types can be displayed: the internal representation, format_simple, etc. It's confusing that the same type can be printed differently in different places. Also,. non... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ddfisher |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| 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 | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width