Title: Metaclasses should inherit from type. · Issue #2818 · python/mypy · GitHub
Open Graph Title: Metaclasses should inherit from type. · Issue #2818 · python/mypy
X Title: Metaclasses should inherit from type. · Issue #2818 · python/mypy
Description: There is something missing in #2475: this code: class M: ... class A(metaclass=M): ... Passes without errors, but fails at runtime. Btw, I have found two open issues that were fixed by #2475, I left comments referencing the #2475 in that...
Open Graph Description: There is something missing in #2475: this code: class M: ... class A(metaclass=M): ... Passes without errors, but fails at runtime. Btw, I have found two open issues that were fixed by #2475, I lef...
X Description: There is something missing in #2475: this code: class M: ... class A(metaclass=M): ... Passes without errors, but fails at runtime. Btw, I have found two open issues that were fixed by #2475, I lef...
Opengraph URL: https://github.com/python/mypy/issues/2818
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Metaclasses should inherit from type.","articleBody":"There is something missing in #2475: this code:\r\n```python\r\nclass M:\r\n ...\r\nclass A(metaclass=M):\r\n ...\r\n```\r\nPasses without errors, but fails at runtime.\r\n\r\n---------------------------------------------------\r\nBtw, I have found two open issues that were fixed by #2475, I left comments referencing the #2475 in that issues.","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2017-02-07T08:45:49Z","url":"https://github.com/python/mypy/issues/2818"}
| 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:35402f59-6427-aa37-2f28-621f005daf62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91D4:D33AC:3150E9:4296E4:6B002747 |
| html-safe-nonce | f5c6841d8ed29966dbdf6b8f3a3722b4bd3bb2cb7bd46b5f926dfafba3aaf830 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUQ0OkQzM0FDOjMxNTBFOTo0Mjk2RTQ6NkIwMDI3NDciLCJ2aXNpdG9yX2lkIjoiNzQyNTMwMDE1NDAwMzA2NTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 422d81870a0e6c142d7654208efe0c953401d06b459e0d15bb8d09195ab2eaaf |
| hovercard-subject-tag | issue:205822773 |
| 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/2818/issue_layout |
| twitter:image | https://opengraph.githubassets.com/098f877595ace752f949bebc6712eb4eec368704253a7cb2730669fd99f79c5e/python/mypy/issues/2818 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/098f877595ace752f949bebc6712eb4eec368704253a7cb2730669fd99f79c5e/python/mypy/issues/2818 |
| og:image:alt | There is something missing in #2475: this code: class M: ... class A(metaclass=M): ... Passes without errors, but fails at runtime. Btw, I have found two open issues that were fixed by #2475, I lef... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| 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