Title: mypy crashes with arguments --ignore-missing-imports --follow-imports skip · Issue #2778 · python/mypy · GitHub
Open Graph Title: mypy crashes with arguments --ignore-missing-imports --follow-imports skip · Issue #2778 · python/mypy
X Title: mypy crashes with arguments --ignore-missing-imports --follow-imports skip · Issue #2778 · python/mypy
Description: mypy --ignore-missing-imports --follow-imports skip -m my_module (py3) user@...$ mypy --ignore-missing-imports --follow-imports skip -m axelrod Traceback (most recent call last): File "/home/user/anaconda2/envs/py3/bin/mypy", line 6, in ...
Open Graph Description: mypy --ignore-missing-imports --follow-imports skip -m my_module (py3) user@...$ mypy --ignore-missing-imports --follow-imports skip -m axelrod Traceback (most recent call last): File "/home/user/a...
X Description: mypy --ignore-missing-imports --follow-imports skip -m my_module (py3) user@...$ mypy --ignore-missing-imports --follow-imports skip -m axelrod Traceback (most recent call last): File "/home/u...
Opengraph URL: https://github.com/python/mypy/issues/2778
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy crashes with arguments --ignore-missing-imports --follow-imports skip","articleBody":"`mypy --ignore-missing-imports --follow-imports skip -m my_module`\r\n\r\n```bash\r\n(py3) user@...$ mypy --ignore-missing-imports --follow-imports skip -m axelrod\r\nTraceback (most recent call last):\r\n File \"/home/user/anaconda2/envs/py3/bin/mypy\", line 6, in \u003cmodule>\r\n main(__file__)\r\n File \"/home/user/anaconda2/envs/py3/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 \"/home/user/anaconda2/envs/py3/lib/python3.5/site-packages/mypy/main.py\", line 87, in type_check_only\r\n options=options)\r\n File \"/home/user/anaconda2/envs/py3/lib/python3.5/site-packages/mypy/build.py\", line 183, in build\r\n dispatch(sources, manager)\r\n File \"/home/user/anaconda2/envs/py3/lib/python3.5/site-packages/mypy/build.py\", line 1526, in dispatch\r\n process_graph(graph, manager)\r\n File \"/home/user/anaconda2/envs/py3/lib/python3.5/site-packages/mypy/build.py\", line 1652, in process_graph\r\n sccs = sorted_components(graph)\r\n File \"/home/user/anaconda2/envs/py3/lib/python3.5/site-packages/mypy/build.py\", line 1879, in sorted_components\r\n for ready in topsort(data):\r\n File \"/home/user/anaconda2/envs/py3/lib/python3.5/site-packages/mypy/build.py\", line 1988, in topsort\r\n for item in set.union(*data.values()) - set(data.keys()):\r\nTypeError: descriptor 'union' of 'set' object needs an argument\r\n```\r\n\r\nRunning the same command with individual files in the module works fine (no crash, type errors caught and reported as expected).","author":{"url":"https://github.com/marcharper","@type":"Person","name":"marcharper"},"datePublished":"2017-01-31T06:54:13Z","url":"https://github.com/python/mypy/issues/2778"}
| 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:e727cabf-9521-0487-9a4b-55d9b8c1eac6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAD2:3E19F2:1318CDA:1940962:6B001596 |
| html-safe-nonce | ef68aa19be277fdffa7a0e9ded8d2126b64e64b73f264829de121b051c3e9d4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUQyOjNFMTlGMjoxMzE4Q0RBOjE5NDA5NjI6NkIwMDE1OTYiLCJ2aXNpdG9yX2lkIjoiNTg1ODkyNTAwNjY0OTU2MjUxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 21387713e18700951a6e47a0bade5c59cad0980cb001404546fec1e28a8be5f5 |
| hovercard-subject-tag | issue:204218220 |
| 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/2778/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2466fd8034f4c11848ba8c2f5f1d3b45323829287598ceb0cd210d43ac67fd36/python/mypy/issues/2778 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2466fd8034f4c11848ba8c2f5f1d3b45323829287598ceb0cd210d43ac67fd36/python/mypy/issues/2778 |
| og:image:alt | mypy --ignore-missing-imports --follow-imports skip -m my_module (py3) user@...$ mypy --ignore-missing-imports --follow-imports skip -m axelrod Traceback (most recent call last): File "/home/user/a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcharper |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width