Title: pow function return type overly broad · Issue #285 · python/typeshed · GitHub
Open Graph Title: pow function return type overly broad · Issue #285 · python/typeshed
X Title: pow function return type overly broad · Issue #285 · python/typeshed
Description: I happened to be reading through the typeshed code because of a completely unrelated issue I was tracking down, and noticed that the pow function return type seems to be overly broad: https://github.com/python/typeshed/blob/master/stdlib...
Open Graph Description: I happened to be reading through the typeshed code because of a completely unrelated issue I was tracking down, and noticed that the pow function return type seems to be overly broad: https://githu...
X Description: I happened to be reading through the typeshed code because of a completely unrelated issue I was tracking down, and noticed that the pow function return type seems to be overly broad: https://githu...
Mail addresses
notifications@github.com
Opengraph URL: https://github.com/python/typeshed/issues/285
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pow function return type overly broad","articleBody":"I happened to be reading through the `typeshed` code because of a completely unrelated issue I was tracking down, and noticed that the `pow` function return type seems to be overly broad:\n\nhttps://github.com/python/typeshed/blob/master/stdlib/3/builtins.pyi#L703\n\n```\ndef pow(x: int, y: int) -> Any: ... # The return type can be int or float, depending on y\n```\n\nShould that be?\n\n```\ndef pow(x: int, y: int) -> Union[int, float]: ...\n```\n","author":{"url":"https://github.com/johnthagen","@type":"Person","name":"johnthagen"},"datePublished":"2016-06-10T19:43:33Z","url":"https://github.com/python/typeshed/issues/285"}
| 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:58b5de82-3983-0824-48e9-da5dc079b57d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADD0:2F2EB9:2DBFC47:3C95A51:6B00246B |
| html-safe-nonce | e4608f4a0fbafa9a3b92a8823f837c3250fe6bdbdf143c720679819765eb45d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREQwOjJGMkVCOToyREJGQzQ3OjNDOTVBNTE6NkIwMDI0NkIiLCJ2aXNpdG9yX2lkIjoiNTA0MzQ3NzA3NDEwNzQ0MjI4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8b4db2d6b3c0be92ae8d568586220280dc8350faa18d7025312c3140afdf9b9 |
| hovercard-subject-tag | issue:159708285 |
| 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/typeshed/285/issue_layout |
| twitter:image | https://opengraph.githubassets.com/54e9c0a10f0eb7f06e524f080750da483dabe9ed328b464fbb22a2bca980636c/python/typeshed/issues/285 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/54e9c0a10f0eb7f06e524f080750da483dabe9ed328b464fbb22a2bca980636c/python/typeshed/issues/285 |
| og:image:alt | I happened to be reading through the typeshed code because of a completely unrelated issue I was tracking down, and noticed that the pow function return type seems to be overly broad: https://githu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnthagen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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