Title: graphql-core crashing on latest master · Issue #19941 · python/mypy · GitHub
Open Graph Title: graphql-core crashing on latest master · Issue #19941 · python/mypy
X Title: graphql-core crashing on latest master · Issue #19941 · python/mypy
Description: Bisects to #19810 cc @ilevkivskyi File "/Users/shantanu/dev/mypy/mypy/messages.py", line 2802, in visit_type_alias_type get_proper_type(t).accept(self) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/Users/shantanu/dev/mypy/mypy/types.py", line 2...
Open Graph Description: Bisects to #19810 cc @ilevkivskyi File "/Users/shantanu/dev/mypy/mypy/messages.py", line 2802, in visit_type_alias_type get_proper_type(t).accept(self) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/Users/...
X Description: Bisects to #19810 cc @ilevkivskyi File "/Users/shantanu/dev/mypy/mypy/messages.py", line 2802, in visit_type_alias_type get_proper_type(t).accept(self) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ Fil...
Opengraph URL: https://github.com/python/mypy/issues/19941
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"graphql-core crashing on latest master","articleBody":"Bisects to #19810 cc @ilevkivskyi \n\n```\n File \"/Users/shantanu/dev/mypy/mypy/messages.py\", line 2802, in visit_type_alias_type\n get_proper_type(t).accept(self)\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 2773, in accept\n return visitor.visit_tuple_type(self)\n ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/typetraverser.py\", line 97, in visit_tuple_type\n self.traverse_type_list(t.items)\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/typetraverser.py\", line 154, in traverse_type_list\n typ.accept(self)\n ~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 1634, in accept\n return visitor.visit_instance(self)\n ~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/messages.py\", line 2798, in visit_instance\n super().visit_instance(t)\n ~~~~~~~~~~~~~~~~~~~~~~^^^\n File \"/Users/shantanu/dev/mypy/mypy/typetraverser.py\", line 82, in visit_instance\n self.traverse_type_tuple(t.args)\n ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/typetraverser.py\", line 159, in traverse_type_tuple\n typ.accept(self)\n ~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 406, in accept\n return visitor.visit_type_alias_type(self)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/messages.py\", line 2802, in visit_type_alias_type\n get_proper_type(t).accept(self)\n ~~~~~~~~~~~~~~~^^^\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 3577, in get_proper_type\n typ = typ._expand_once()\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 370, in _expand_once\n return self.alias.target.accept(InstantiateAliasVisitor(mapping))\n ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 3334, in accept\n return visitor.visit_union_type(self)\n ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/types.py\", line 4315, in visit_union_type\n return TypeTranslator.visit_union_type(self, t)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/type_visitor.py\", line 302, in visit_union_type\n self.translate_type_list(t.items),\n ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\nRecursionError: maximum recursion depth exceeded\n/tmp/mypy_primer/projects/graphql-core/src/graphql/execution/incremental_publisher.py:1057: : note: use --pdb to drop into pdb\n```","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2025-09-27T06:48:52Z","url":"https://github.com/python/mypy/issues/19941"}
| 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:f2ca6c26-c816-b48c-fa77-70d31675d241 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1F4:3A7693:2188013:2D7139D:6B00201D |
| html-safe-nonce | ce364a8621594babe3a658e4112174a150c835a3c49dd404c8a2e1902b1ab4c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUY0OjNBNzY5MzoyMTg4MDEzOjJENzEzOUQ6NkIwMDIwMUQiLCJ2aXNpdG9yX2lkIjoiMzg3ODUwMDMzOTMzMDA2NDQxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f4b8bbbbef39feb28cb3319a2078b086a0c9652b7dccbe37689ecfb5c588f7eb |
| hovercard-subject-tag | issue:3459874348 |
| 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/19941/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c96a385f2882ab389a3cb236ce86a0e04342118285d35c2e2cad15bf37f084c/python/mypy/issues/19941 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c96a385f2882ab389a3cb236ce86a0e04342118285d35c2e2cad15bf37f084c/python/mypy/issues/19941 |
| og:image:alt | Bisects to #19810 cc @ilevkivskyi File "/Users/shantanu/dev/mypy/mypy/messages.py", line 2802, in visit_type_alias_type get_proper_type(t).accept(self) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/Users/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hauntsaninja |
| 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