Title: incremental: Crash after deleting a function. · Issue #3052 · python/mypy · GitHub
Open Graph Title: incremental: Crash after deleting a function. · Issue #3052 · python/mypy
X Title: incremental: Crash after deleting a function. · Issue #3052 · python/mypy
Description: I ran into this crash with 0.501 today on the Zulip codebase when running mypy with this version of the code zulip/zulip@09f66b5 (which deleted the below function). I've attached the cache state tarball in case it's helpful: mypy.tar.gz ...
Open Graph Description: I ran into this crash with 0.501 today on the Zulip codebase when running mypy with this version of the code zulip/zulip@09f66b5 (which deleted the below function). I've attached the cache state ta...
X Description: I ran into this crash with 0.501 today on the Zulip codebase when running mypy with this version of the code zulip/zulip@09f66b5 (which deleted the below function). I've attached the cache stat...
Opengraph URL: https://github.com/python/mypy/issues/3052
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"incremental: Crash after deleting a function.","articleBody":"I ran into this crash with 0.501 today on the Zulip codebase when running mypy with this version of the code https://github.com/zulip/zulip/commit/09f66b5c6dfc5c8bf5d52fb51259189ade0f336e (which deleted the below function). \r\n\r\nI've attached the cache state tarball in case it's helpful: [mypy.tar.gz](https://github.com/python/mypy/files/866606/mypy.tar.gz)\r\n\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/srv/zulip-py3-venv/bin/mypy\", line 6, in \u003cmodule>\r\n main(__file__)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/main.py\", line 42, in main\r\n res = type_check_only(sources, bin_dir, options)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/main.py\", line 86, in type_check_only\r\n options=options)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/build.py\", line 183, in build\r\n dispatch(sources, manager)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/build.py\", line 1531, in dispatch\r\n process_graph(graph, manager)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/build.py\", line 1761, in process_graph\r\n process_fresh_scc(graph, prev_scc)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/build.py\", line 1830, in process_fresh_scc\r\n graph[id].fix_cross_refs()\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/build.py\", line 1311, in fix_cross_refs\r\n fixup_module_pass_one(self.tree, self.manager.modules)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/fixup.py\", line 21, in fixup_module_pass_one\r\n node_fixer.visit_symbol_table(tree.names)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/fixup.py\", line 79, in visit_symbol_table\r\n stnode = lookup_qualified_stnode(self.modules, cross_ref)\r\n File \"/srv/zulip-venv-cache/015153c2b7c837e69f696afeaa7df4d23e89fed1/zulip-py3-venv/lib/python3.5/site-packages/mypy/fixup.py\", line 255, in lookup_qualified_stnode\r\n assert key in names, \"Cannot find %s for %s\" % (key, name)\r\nAssertionError: Cannot find do_set_realm_description for zerver.lib.actions.do_set_realm_description\r\n```\r\n\r\n","author":{"url":"https://github.com/timabbott","@type":"Person","name":"timabbott"},"datePublished":"2017-03-24T01:11:50Z","url":"https://github.com/python/mypy/issues/3052"}
| 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:210dd23a-e6be-ec1c-b1f4-dea695b92c19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD0C:DB416:14C219A:1B27B11:6B000C9A |
| html-safe-nonce | 2028cdea71d0f1c5a9c36e75b10ceef0a40c2be54105a47c5ed31406f4b22661 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDBDOkRCNDE2OjE0QzIxOUE6MUIyN0IxMTo2QjAwMEM5QSIsInZpc2l0b3JfaWQiOiI0OTg3OTg2MDgzNzU4MjE0Mjk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4441874fcbffbe20658ed8a058c066acf2ec0511f2b2eeb9c84546157e648732 |
| hovercard-subject-tag | issue:216617439 |
| 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/3052/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb56179b12239a7a6262b5e3d9950cf79356db28d80b0c49df4975cce58e1e51/python/mypy/issues/3052 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb56179b12239a7a6262b5e3d9950cf79356db28d80b0c49df4975cce58e1e51/python/mypy/issues/3052 |
| og:image:alt | I ran into this crash with 0.501 today on the Zulip codebase when running mypy with this version of the code zulip/zulip@09f66b5 (which deleted the below function). I've attached the cache state ta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timabbott |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width