Title: Do we need an explicit cast() function? · Issue #15 · python/typing · GitHub
Open Graph Title: Do we need an explicit cast() function? · Issue #15 · python/typing
X Title: Do we need an explicit cast() function? · Issue #15 · python/typing
Description: In mypy there's a cast(TYPE, EXPR) function. Do we still need this, given that we can do the same thing with # type: comments? (However, see issue #9.)
Open Graph Description: In mypy there's a cast(TYPE, EXPR) function. Do we still need this, given that we can do the same thing with # type: comments? (However, see issue #9.)
X Description: In mypy there's a cast(TYPE, EXPR) function. Do we still need this, given that we can do the same thing with # type: comments? (However, see issue #9.)
Mail addresses
notifications@github.com
Opengraph URL: https://github.com/python/typing/issues/15
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do we need an explicit cast() function?","articleBody":"In mypy there's a cast(TYPE, EXPR) function. Do we still need this, given that we can do the same thing with `# type:` comments? (However, see issue #9.)\n","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2014-10-16T03:11:11Z","url":"https://github.com/python/typing/issues/15"}
| 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:f41980df-5091-607b-6a6c-be3f98254d4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8C8:25F127:3994AB:4E72EF:6B006CDB |
| html-safe-nonce | 55a26d843a81275856b7f62fe6a615a6da3e3ce3a04573874ac6ed3f78f77dba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEM4OjI1RjEyNzozOTk0QUI6NEU3MkVGOjZCMDA2Q0RCIiwidmlzaXRvcl9pZCI6IjQ0MTIzNDE3NzAzNzgwNDY2ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0833cf5b02516f10d3d5776c0ddca8e4f889c8246aaf0c3ed20f5cdd9eb6887c |
| hovercard-subject-tag | issue:45943884 |
| 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/typing/15/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae7706b203b619bd8fa546f5b6928b8f9daf1931319962ddd098dbbbdb1619a6/python/typing/issues/15 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae7706b203b619bd8fa546f5b6928b8f9daf1931319962ddd098dbbbdb1619a6/python/typing/issues/15 |
| og:image:alt | In mypy there's a cast(TYPE, EXPR) function. Do we still need this, given that we can do the same thing with # type: comments? (However, see issue #9.) |
| 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 | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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