Title: assert failing in lookup_qualified_node with -i/--incremental · Issue #3259 · python/mypy · GitHub
Open Graph Title: assert failing in lookup_qualified_node with -i/--incremental · Issue #3259 · python/mypy
X Title: assert failing in lookup_qualified_node with -i/--incremental · Issue #3259 · python/mypy
Description: I've got some proprietary code where mypy reliably crashes on the second -i run, as follows: (v36) bash-3.2$ ci/mypy3_all.sh -i Traceback (most recent call last): File "/usr/local/lib/python3.5/runpy.py", line 170, in _run_module_as_main...
Open Graph Description: I've got some proprietary code where mypy reliably crashes on the second -i run, as follows: (v36) bash-3.2$ ci/mypy3_all.sh -i Traceback (most recent call last): File "/usr/local/lib/python3.5/run...
X Description: I've got some proprietary code where mypy reliably crashes on the second -i run, as follows: (v36) bash-3.2$ ci/mypy3_all.sh -i Traceback (most recent call last): File "/usr/local/lib/pyth...
Opengraph URL: https://github.com/python/mypy/issues/3259
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"assert failing in lookup_qualified_node with -i/--incremental","articleBody":"I've got some proprietary code where mypy reliably crashes on the second `-i` run, as follows:\r\n```\r\n(v36) bash-3.2$ ci/mypy3_all.sh -i\r\nTraceback (most recent call last):\r\n File \"/usr/local/lib/python3.5/runpy.py\", line 170, in _run_module_as_main\r\n \"__main__\", mod_spec)\r\n File \"/usr/local/lib/python3.5/runpy.py\", line 85, in _run_code\r\n exec(code, run_globals)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/__main__.py\", line 5, in \u003cmodule>\r\n main(None)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/main.py\", line 46, in main\r\n res = type_check_only(sources, bin_dir, options)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/main.py\", line 93, in type_check_only\r\n options=options)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/build.py\", line 188, in build\r\n graph = dispatch(sources, manager)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/build.py\", line 1570, in dispatch\r\n process_graph(graph, manager)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/build.py\", line 1806, in process_graph\r\n process_fresh_scc(graph, prev_scc)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/build.py\", line 1875, in process_fresh_scc\r\n graph[id].fix_cross_refs()\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/build.py\", line 1341, in fix_cross_refs\r\n self.manager.options.quick_and_dirty)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py\", line 24, in fixup_module_pass_one\r\n node_fixer.visit_symbol_table(tree.names)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py\", line 92, in visit_symbol_table\r\n self.visit_type_info(value.node)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py\", line 58, in visit_type_info\r\n self.visit_symbol_table(info.names)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py\", line 83, in visit_symbol_table\r\n self.quick_and_dirty)\r\n File \"/Users/guido/src/client/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py\", line 276, in lookup_qualified_stnode\r\n assert isinstance(node, TypeInfo)\r\nAssertionError\r\n```","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2017-04-26T17:51:27Z","url":"https://github.com/python/mypy/issues/3259"}
| 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:a496a0c4-0a18-1b0f-9a4b-683a89163e3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0C2:34D604:23AEF96:2F3781A:6B0054F7 |
| html-safe-nonce | 6b3e6abdc3d6492696fa7747ad264024dbe01f34d06f1a34e56f5412b6897766 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEMyOjM0RDYwNDoyM0FFRjk2OjJGMzc4MUE6NkIwMDU0RjciLCJ2aXNpdG9yX2lkIjoiNjA1OTgyMTE3ODUwMjAxMDEwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f6e4fe49803b9f6b065e8d8f12237566ee27aee9a2a9a9b870b7fd8a9bb6356e |
| hovercard-subject-tag | issue:224549037 |
| 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/3259/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb79f315974822e48b0f3ba170e24a87d143326f991c8e3fa295be76fa4b29f3/python/mypy/issues/3259 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb79f315974822e48b0f3ba170e24a87d143326f991c8e3fa295be76fa4b29f3/python/mypy/issues/3259 |
| og:image:alt | I've got some proprietary code where mypy reliably crashes on the second -i run, as follows: (v36) bash-3.2$ ci/mypy3_all.sh -i Traceback (most recent call last): File "/usr/local/lib/python3.5/run... |
| 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 | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width