Title: Crash on numtype numpy stubs package related to property · Issue #18764 · python/mypy · GitHub
Open Graph Title: Crash on numtype numpy stubs package related to property · Issue #18764 · python/mypy
X Title: Crash on numtype numpy stubs package related to property · Issue #18764 · python/mypy
Description: rm -rf tmp mkdir tmp cd tmp git clone https://github.com/numpy/numtype.git mypy numtype/src --show-traceback numtype commit 864cda2 Seems similar to #18648 cc @ilevkivskyi ... File "/Users/shantanu/dev/mypy/mypy/nodes.py", line 580, in a...
Open Graph Description: rm -rf tmp mkdir tmp cd tmp git clone https://github.com/numpy/numtype.git mypy numtype/src --show-traceback numtype commit 864cda2 Seems similar to #18648 cc @ilevkivskyi ... File "/Users/shantanu...
X Description: rm -rf tmp mkdir tmp cd tmp git clone https://github.com/numpy/numtype.git mypy numtype/src --show-traceback numtype commit 864cda2 Seems similar to #18648 cc @ilevkivskyi ... File "/Users/sha...
Opengraph URL: https://github.com/python/mypy/issues/18764
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash on numtype numpy stubs package related to property","articleBody":"```\nrm -rf tmp\nmkdir tmp\ncd tmp\ngit clone https://github.com/numpy/numtype.git\nmypy numtype/src --show-traceback \n```\nnumtype commit 864cda2\n\nSeems similar to https://github.com/python/mypy/issues/18648 cc @ilevkivskyi \n\n```\n...\n File \"/Users/shantanu/dev/mypy/mypy/nodes.py\", line 580, in accept\n return visitor.visit_overloaded_func_def(self)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 641, in visit_overloaded_func_def\n self._visit_overloaded_func_def(defn)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 697, in _visit_overloaded_func_def\n found_method_base_classes = self.check_method_override(defn)\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 2022, in check_method_override\n result = self.check_method_or_accessor_override_for_base(\n defn, base, check_override_compatibility\n )\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 2060, in check_method_or_accessor_override_for_base\n if self.check_method_override_for_base_with_name(defn, name, base):\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 2194, in check_method_override_for_base_with_name\n self.check_setter_type_override(defn, base_attr, base)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 2084, in check_setter_type_override\n original_type, is_original_setter = get_raw_setter_type(base_node)\n ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^\n File \"/Users/shantanu/dev/mypy/mypy/checker.py\", line 8919, in get_raw_setter_type\n assert var.type is not None\n ^^^^^^^^^^^^^^^^^^^^\nAssertionError: \nnumtype/src/numpy-stubs/ma/core.pyi:308: : note: use --pdb to drop into pdb\n```","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2025-03-07T00:37:57Z","url":"https://github.com/python/mypy/issues/18764"}
| 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:1ed0dc2f-d7a2-5d82-32f8-b0f88946d933 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B080:145630:2C61E06:3A9F890:6B001D78 |
| html-safe-nonce | 18bbc2483bc9a9474ce23522e74e56634b1a493c22a4f8962bd46f13bb010b34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDgwOjE0NTYzMDoyQzYxRTA2OjNBOUY4OTA6NkIwMDFENzgiLCJ2aXNpdG9yX2lkIjoiODE1MjYzNzkxMTUyNzg1NzUyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0a9e49c7a4d0f329238028eb7119c2526eb4a2e7142c50ef5ad4243d8f1f6523 |
| hovercard-subject-tag | issue:2901724488 |
| 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/18764/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5be760c448c171980c9980e94fdffd0a5a332fd5617d7cd1af0d8ba660a61dc3/python/mypy/issues/18764 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5be760c448c171980c9980e94fdffd0a5a332fd5617d7cd1af0d8ba660a61dc3/python/mypy/issues/18764 |
| og:image:alt | rm -rf tmp mkdir tmp cd tmp git clone https://github.com/numpy/numtype.git mypy numtype/src --show-traceback numtype commit 864cda2 Seems similar to #18648 cc @ilevkivskyi ... File "/Users/shantanu... |
| 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