Title: revealed type of 5 ** a is Any · Issue #8034 · python/mypy · GitHub
Open Graph Title: revealed type of 5 ** a is Any · Issue #8034 · python/mypy
X Title: revealed type of 5 ** a is Any · Issue #8034 · python/mypy
Description: The following code reproduces the problem both in 0.740 and current master. I run mypy with no options and no configuration. a = 5 reveal_type(a) reveal_type(5 ** 5) reveal_type(5 ** a) output: % mypy mypy.py mypy.py:2: note: Revealed ty...
Open Graph Description: The following code reproduces the problem both in 0.740 and current master. I run mypy with no options and no configuration. a = 5 reveal_type(a) reveal_type(5 ** 5) reveal_type(5 ** a) output: % m...
X Description: The following code reproduces the problem both in 0.740 and current master. I run mypy with no options and no configuration. a = 5 reveal_type(a) reveal_type(5 ** 5) reveal_type(5 ** a) output: % m...
Opengraph URL: https://github.com/python/mypy/issues/8034
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"revealed type of 5 ** a is Any","articleBody":"The following code reproduces the problem both in 0.740 and current master. I run mypy with no options and no configuration.\r\n```\r\na = 5\r\nreveal_type(a)\r\nreveal_type(5 ** 5)\r\nreveal_type(5 ** a)\r\n```\r\noutput:\r\n```\r\n% mypy mypy.py \r\nmypy.py:2: note: Revealed type is 'builtins.int'\r\nmypy.py:3: note: Revealed type is 'builtins.int'\r\nmypy.py:4: note: Revealed type is 'Any'\r\n```","author":{"url":"https://github.com/matejcik","@type":"Person","name":"matejcik"},"datePublished":"2019-11-29T13:46:09Z","url":"https://github.com/python/mypy/issues/8034"}
| 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:ebee027b-c0c4-8e54-64e1-75cb3f1ded12 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEF0:157BA1:B26A6A:EF84F3:6B004C68 |
| html-safe-nonce | 98837d26522f3c6cc32235c2248f828769102c8cf6b21e4df19da1ca26851a72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUYwOjE1N0JBMTpCMjZBNkE6RUY4NEYzOjZCMDA0QzY4IiwidmlzaXRvcl9pZCI6Ijc4NDQ2MDUzNDM4NDQ4MTM5MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | baf454500d28415cde6783bf088412a767c30627ae7cb8840fedf31cca73a641 |
| hovercard-subject-tag | issue:530354956 |
| 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/8034/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a8a1c116b174565bf924188a936e4f1ab31732e57d49f94b2c03b23c6a07d7e/python/mypy/issues/8034 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a8a1c116b174565bf924188a936e4f1ab31732e57d49f94b2c03b23c6a07d7e/python/mypy/issues/8034 |
| og:image:alt | The following code reproduces the problem both in 0.740 and current master. I run mypy with no options and no configuration. a = 5 reveal_type(a) reveal_type(5 ** 5) reveal_type(5 ** a) output: % m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | matejcik |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| 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 | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width