Title: Internal Error: NoneType object is not iterable · Issue #3756 · python/mypy · GitHub
Open Graph Title: Internal Error: NoneType object is not iterable · Issue #3756 · python/mypy
X Title: Internal Error: NoneType object is not iterable · Issue #3756 · python/mypy
Description: Was asked by mypy to report this as a bug XXX.py:202: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.520-dev Traceback (most recent call last): File "/mnt/xarfuse/uid-113271/d60148e6-ns-4...
Open Graph Description: Was asked by mypy to report this as a bug XXX.py:202: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.520-dev Traceback (most recent call last): Fil...
X Description: Was asked by mypy to report this as a bug XXX.py:202: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.520-dev Traceback (most recent call last): Fil...
Opengraph URL: https://github.com/python/mypy/issues/3756
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Internal Error: NoneType object is not iterable","articleBody":"Was asked by `mypy` to report this as a bug\r\n\r\n```\r\nXXX.py:202: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.520-dev\r\nTraceback (most recent call last):\r\n File \"/mnt/xarfuse/uid-113271/d60148e6-ns-4026531840/__run_xar_main__.py\", line 138, in \u003cmodule>\r\n __invoke_main()\r\n File \"/mnt/xarfuse/uid-113271/d60148e6-ns-4026531840/__run_xar_main__.py\", line 135, in __invoke_main\r\n runpy._run_module_as_main(module, False)\r\n File \"PATH/python3.6/runpy.py\", line 193, in _run_module_as_main\r\n \"__main__\", mod_spec)\r\n File \"PATH/python3.6/runpy.py\", line 85, in _run_code\r\n exec(code, run_globals)\r\n File \"tools/mypy/main.py\", line 6, in \u003cmodule>\r\n File \"mypy/main.py\", line 50, in main\r\n File \"mypy/main.py\", line 97, in type_check_only\r\n File \"mypy/build.py\", line 189, in build\r\n File \"mypy/build.py\", line 1597, in dispatch\r\n File \"mypy/build.py\", line 1840, in process_graph\r\n File \"mypy/build.py\", line 1939, in process_stale_scc\r\n File \"mypy/build.py\", line 1512, in type_check_first_pass\r\n File \"mypy/checker.py\", line 183, in check_first_pass\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 565, in accept\r\n File \"mypy/checker.py\", line 516, in visit_func_def\r\n File \"mypy/checker.py\", line 575, in check_func_item\r\n File \"mypy/checker.py\", line 725, in check_func_def\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 812, in accept\r\n File \"mypy/checker.py\", line 1189, in visit_block\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 909, in accept\r\n File \"mypy/checker.py\", line 2159, in visit_for_stmt\r\n File \"mypy/checker.py\", line 286, in accept_loop\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 812, in accept\r\n File \"mypy/checker.py\", line 1189, in visit_block\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 971, in accept\r\n File \"mypy/checker.py\", line 1938, in visit_if_stmt\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 812, in accept\r\n File \"mypy/checker.py\", line 1189, in visit_block\r\n File \"mypy/checker.py\", line 270, in accept\r\n File \"mypy/nodes.py\", line 856, in accept\r\n File \"mypy/checker.py\", line 1196, in visit_assignment_stmt\r\n File \"mypy/checker.py\", line 1258, in check_assignment\r\n File \"mypy/checker.py\", line 1720, in check_simple_assignment\r\n File \"mypy/checkexpr.py\", line 2203, in accept\r\n File \"mypy/nodes.py\", line 1900, in accept\r\n File \"mypy/checkexpr.py\", line 2289, in visit_await_expr\r\n File \"mypy/checkexpr.py\", line 2203, in accept\r\n File \"mypy/nodes.py\", line 1304, in accept\r\n File \"mypy/checkexpr.py\", line 238, in visit_call_expr\r\n File \"mypy/checkexpr.py\", line 446, in check_call_expr_with_callee_type\r\n File \"mypy/checkexpr.py\", line 552, in check_call\r\n File \"mypy/types.py\", line 1065, in make_simplified_union\r\n File \"mypy/subtypes.py\", line 558, in is_proper_subtype\r\n File \"mypy/types.py\", line 411, in accept\r\n File \"mypy/subtypes.py\", line 594, in visit_instance\r\nTypeError: 'NoneType' object is not iterable\r\nXXX.py:202: note: use --pdb to drop into pdb\r\n```","author":{"url":"https://github.com/coxley","@type":"Person","name":"coxley"},"datePublished":"2017-07-22T01:55:27Z","url":"https://github.com/python/mypy/issues/3756"}
| 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:b6564e03-d921-61d5-e6ba-cebd556329e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E956:1F268:38058B:4E926E:6B005D90 |
| html-safe-nonce | af2e7e16e85a48cc9a525c23d0d1a83165657c8242ab8287f93d47321701ac60 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTU2OjFGMjY4OjM4MDU4Qjo0RTkyNkU6NkIwMDVEOTAiLCJ2aXNpdG9yX2lkIjoiMzM3Mzg3ODE0NjMyMjQyMzE4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a536af1cd9ca7dee8b1bfc8aa3868b410b678a0632a349da8aeafed3515068a5 |
| hovercard-subject-tag | issue:244816534 |
| 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/3756/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43044df8e88eb07d4e8de042c767d1d52623c9adc027eeec10e54f8fea731ca0/python/mypy/issues/3756 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43044df8e88eb07d4e8de042c767d1d52623c9adc027eeec10e54f8fea731ca0/python/mypy/issues/3756 |
| og:image:alt | Was asked by mypy to report this as a bug XXX.py:202: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.520-dev Traceback (most recent call last): Fil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coxley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width