Title: "__getattribute__" undefined in superclass · Issue #2581 · python/mypy · GitHub
Open Graph Title: "__getattribute__" undefined in superclass · Issue #2581 · python/mypy
X Title: "__getattribute__" undefined in superclass · Issue #2581 · python/mypy
Description: class Foo(): def __getattribute__(self, key) -> None: return super().__getattribute__(key) # error: "__getattribute__" undefined in superclass I guess this is caused by object not being modeled to have __getattribute__: class Foo(): def ...
Open Graph Description: class Foo(): def __getattribute__(self, key) -> None: return super().__getattribute__(key) # error: "__getattribute__" undefined in superclass I guess this is caused by object not being modeled to ...
X Description: class Foo(): def __getattribute__(self, key) -> None: return super().__getattribute__(key) # error: "__getattribute__" undefined in superclass I guess this is caused by object not bein...
Opengraph URL: https://github.com/python/mypy/issues/2581
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"__getattribute__\" undefined in superclass","articleBody":"```\r\nclass Foo():\r\n def __getattribute__(self, key) -> None:\r\n return super().__getattribute__(key) # error: \"__getattribute__\" undefined in superclass\r\n```\r\n\r\nI guess this is caused by `object` not being modeled to have `__getattribute__`:\r\n```\r\nclass Foo():\r\n def __getattribute__(self, key) -> None:\r\n return object.__getattribute__(self, key) # error: \"object\" has no attribute \"__getattribute__\"\r\n```","author":{"url":"https://github.com/z33ky","@type":"Person","name":"z33ky"},"datePublished":"2016-12-15T14:05:03Z","url":"https://github.com/python/mypy/issues/2581"}
| 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:7f07ef18-4aef-6f5b-2346-ed3b44c24526 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B13A:44D65:2CADF3:3C2A08:6B002685 |
| html-safe-nonce | 73b7964a9954c455be9a0c54d081420e1017b5fda668e0dfcc1f399cc422f1a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTNBOjQ0RDY1OjJDQURGMzozQzJBMDg6NkIwMDI2ODUiLCJ2aXNpdG9yX2lkIjoiNDA3NTIwMzk2MTY3NjYzNzgyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1854d919b49d80672da2336b12ea0835bbcfabdb1daa0fa5f14077a2c87af6d0 |
| hovercard-subject-tag | issue:195813552 |
| 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/2581/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5364307b90af06ea7b3074ebdf9aa43825131219290163af1d041ddd9864e904/python/mypy/issues/2581 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5364307b90af06ea7b3074ebdf9aa43825131219290163af1d041ddd9864e904/python/mypy/issues/2581 |
| og:image:alt | class Foo(): def __getattribute__(self, key) -> None: return super().__getattribute__(key) # error: "__getattribute__" undefined in superclass I guess this is caused by object not being modeled to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | z33ky |
| 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