Title: New --quick crash: "assert override is not None" · Issue #3355 · python/mypy · GitHub
Open Graph Title: New --quick crash: "assert override is not None" · Issue #3355 · python/mypy
X Title: New --quick crash: "assert override is not None" · Issue #3355 · python/mypy
Description: I'm seeing new crashes in quick mode in production. Note that these start with two legitimate mypy errors. On stderr: dropbox/fastwalk_bridge.py:36: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues ve...
Open Graph Description: I'm seeing new crashes in quick mode in production. Note that these start with two legitimate mypy errors. On stderr: dropbox/fastwalk_bridge.py:36: error: INTERNAL ERROR -- please report a bug at ...
X Description: I'm seeing new crashes in quick mode in production. Note that these start with two legitimate mypy errors. On stderr: dropbox/fastwalk_bridge.py:36: error: INTERNAL ERROR -- please report a bug...
Opengraph URL: https://github.com/python/mypy/issues/3355
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New --quick crash: \"assert override is not None\"","articleBody":"I'm seeing new crashes in quick mode in production. Note that these start with two legitimate mypy errors. On stderr:\r\n```\r\ndropbox/fastwalk_bridge.py:36: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.510-dev-54f1df90e40db1f0f57814a193134fa9749a2527\r\ndropbox/fastwalk_bridge.py:36: note: use --pdb to drop into pdb\r\n```\r\nOn stdout:\r\n```\r\nbuild_number/__init__.py:31: error: Module 'build_number._frozen_version' has no attribute 'DROPBOXEXT_VERSION'\r\nbuild_number/__init__.py:102: error: \"DesktopClientBuildNumber\" has no attribute \"name\"\r\nTraceback (most recent call last):\r\n File \"/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py\", line 193, in _run_module_as_main\r\n \"__main__\", mod_spec)\r\n File \"/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py\", line 85, in _run_code\r\n exec(code, run_globals)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/__main__.py\", line 5, in \u003cmodule>\r\n main(None)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/main.py\", line 46, in main\r\n res = type_check_only(sources, bin_dir, options)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/main.py\", line 93, in type_check_only\r\n options=options)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/build.py\", line 188, in build\r\n graph = dispatch(sources, manager)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/build.py\", line 1595, in dispatch\r\n process_graph(graph, manager)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/build.py\", line 1838, in process_graph\r\n process_stale_scc(graph, scc, manager)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/build.py\", line 1931, in process_stale_scc\r\n graph[id].semantic_analysis()\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/build.py\", line 1495, in semantic_analysis\r\n self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 257, in visit_file\r\n self.accept(d)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 3288, in accept\r\n node.accept(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/nodes.py\", line 749, in accept\r\n return visitor.visit_class_def(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 620, in visit_class_def\r\n defn.defs.accept(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/nodes.py\", line 810, in accept\r\n return visitor.visit_block(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 1375, in visit_block\r\n self.accept(s)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 3288, in accept\r\n node.accept(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/nodes.py\", line 631, in accept\r\n return visitor.visit_decorator(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 2470, in visit_decorator\r\n dec.func.accept(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/nodes.py\", line 564, in accept\r\n return visitor.visit_func_def(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 376, in visit_func_def\r\n self.analyze_function(defn)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/semanal.py\", line 550, in analyze_function\r\n defn.type = self.type_analyzer().visit_callable_type(defn.type, nested=False)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/typeanal.py\", line 343, in visit_callable_type\r\n ret_type=self.anal_type(t.ret_type, nested=nested),\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/typeanal.py\", line 521, in anal_type\r\n return t.accept(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/types.py\", line 211, in accept\r\n return visitor.visit_unbound_type(self)\r\n File \"/Users/---/src/desktop-client/.mypy/venv/lib/python3.6/site-packages/mypy/typeanal.py\", line 210, in visit_unbound_type\r\n assert override is not None\r\nAssertionError: \r\n```","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2017-05-12T04:12:40Z","url":"https://github.com/python/mypy/issues/3355"}
| 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:4a2fcf3c-5948-0559-7890-ec367055374f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3F6:23FDF9:1F3A151:2A827B9:6B001DE0 |
| html-safe-nonce | d04b4c6634068e760ed318c8dcbb00bdfe21f8796848799843a6a781c0f2cea7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Y2OjIzRkRGOToxRjNBMTUxOjJBODI3Qjk6NkIwMDFERTAiLCJ2aXNpdG9yX2lkIjoiNjMwOTExMTcxNDcwMDg2MDg5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b397b2252fedcc7f90f97b535d8cd294b0fec22fc8678ded320bd15ccb916ca7 |
| hovercard-subject-tag | issue:228183409 |
| 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/3355/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cdd08cbfac2849116284379e7891d966ac3bed80a825c12fac1e2c3045d5d487/python/mypy/issues/3355 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cdd08cbfac2849116284379e7891d966ac3bed80a825c12fac1e2c3045d5d487/python/mypy/issues/3355 |
| og:image:alt | I'm seeing new crashes in quick mode in production. Note that these start with two legitimate mypy errors. On stderr: dropbox/fastwalk_bridge.py:36: error: INTERNAL ERROR -- please report a bug at ... |
| 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 | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width