René's URL Explorer Experiment


Title: Support metaclasses by elazarg · Pull Request #2475 · python/mypy · GitHub

Open Graph Title: Support metaclasses by elazarg · Pull Request #2475 · python/mypy

X Title: Support metaclasses by elazarg · Pull Request #2475 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Reopening #2392 (itself a reopen of #2365). Store the type of the metaclass in TypeInfo, and use it when possible, instead of builtins.type. I assume metaclasses always inherit from type. This PR w...

X Description: Reopening #2392 (itself a reopen of #2365). Store the type of the metaclass in TypeInfo, and use it when possible, instead of builtins.type. I assume metaclasses always inherit from type. This PR w...

Opengraph URL: https://github.com/python/mypy/pull/2475

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:11df220b-2240-2691-3081-4c9f9f576f6c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5E0:7B498:1688EF7:1D8D70D:6B001526
html-safe-nonce591b7a42bc4045cdc919bac94f6bf0d16d7f0801763d8b14342d16f445dc32b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUUwOjdCNDk4OjE2ODhFRjc6MUQ4RDcwRDo2QjAwMTUyNiIsInZpc2l0b3JfaWQiOiI3MzczNjE2Nzk5MjEzOTUwMjQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7a82bdcd9098f311015b9e6d2a68addecd0e7c1fb52cb8dc42081e9c4e18d6cc
hovercard-subject-tagpull_request:94789758
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/2475/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6a673ff374dc94f712ae014c37c2820bc3b1a00f4edf0f259be1b6a4f2354637/python/mypy/pull/2475
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6a673ff374dc94f712ae014c37c2820bc3b1a00f4edf0f259be1b6a4f2354637/python/mypy/pull/2475
og:image:altReopening #2392 (itself a reopen of #2365). Store the type of the metaclass in TypeInfo, and use it when possible, instead of builtins.type. I assume metaclasses always inherit from type. This PR w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameelazarg
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/2475#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F2475
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F2475
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/2475
Reloadhttps://github.com/python/mypy/pull/2475
Reloadhttps://github.com/python/mypy/pull/2475
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
elazarg:metaclasseshttps://github.com/elazarg/mypy/tree/metaclasses
Conversationhttps://github.com/python/mypy/pull/2475
Commits18 (18)https://github.com/python/mypy/pull/2475/commits
Checkshttps://github.com/python/mypy/pull/2475/checks
Files changedhttps://github.com/python/mypy/pull/2475/files
Support metaclasseshttps://github.com/python/mypy/pull/2475#top
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
elazarg:metaclasseshttps://github.com/elazarg/mypy/tree/metaclasses
https://github.com/elazarg
elazarghttps://github.com/elazarg
Nov 22, 2016https://github.com/python/mypy/pull/2475#issue-190966241
Please reload this pagehttps://github.com/python/mypy/pull/2475
#2392https://github.com/python/mypy/pull/2392
#2365https://github.com/python/mypy/pull/2365
#2305https://github.com/python/mypy/issues/2305
#741https://github.com/python/mypy/issues/741
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
elazarghttps://github.com/elazarg
Nov 22, 2016https://github.com/python/mypy/pull/2475#event-868029945
https://github.com/elazarg
elazarghttps://github.com/elazarg
Nov 22, 2016https://github.com/python/mypy/pull/2475#issuecomment-262216125
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 25, 2016https://github.com/python/mypy/pull/2475#issuecomment-262953752
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 25, 2016https://github.com/python/mypy/pull/2475#issuecomment-262953831
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Dec 13, 2016https://github.com/python/mypy/pull/2475#issuecomment-266876278
@elazarghttps://github.com/elazarg
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
elazarghttps://github.com/elazarg
force-pushedhttps://github.com/python/mypy/compare/59e18838e47f65240a7eaa3e9985d825c15924c2..8ed204e5a66019e5ec3bcc9ae6b34d819ef1d463
59e1883https://github.com/python/mypy/commit/59e18838e47f65240a7eaa3e9985d825c15924c2
8ed204ehttps://github.com/python/mypy/commit/8ed204e5a66019e5ec3bcc9ae6b34d819ef1d463
Compare https://github.com/python/mypy/compare/59e18838e47f65240a7eaa3e9985d825c15924c2..8ed204e5a66019e5ec3bcc9ae6b34d819ef1d463
December 13, 2016 22:44https://github.com/python/mypy/pull/2475#event-892817393
https://github.com/elazarg
elazarghttps://github.com/elazarg
Dec 13, 2016 https://github.com/python/mypy/pull/2475#pullrequestreview-12798893
View reviewed changes https://github.com/python/mypy/pull/2475/files
test-data/unit/semanal-errors.testhttps://github.com/python/mypy/pull/2475/files#diff-2bdb3f72526db8e7d84255f640afca7e567e43a2bf740016e6cbb3cb1a65b5fe
elazarghttps://github.com/elazarg
Dec 13, 2016https://github.com/python/mypy/pull/2475#discussion_r92285873
Please reload this pagehttps://github.com/python/mypy/pull/2475
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
gvanrossumhttps://github.com/gvanrossum
Dec 13, 2016https://github.com/python/mypy/pull/2475#discussion_r92293747
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
elazarghttps://github.com/elazarg
Dec 13, 2016https://github.com/python/mypy/pull/2475#issuecomment-266890595
Please reload this pagehttps://github.com/python/mypy/pull/2475
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
elazarghttps://github.com/elazarg
Dec 14, 2016https://github.com/python/mypy/pull/2475#event-892979943
https://github.com/elazarg
elazarghttps://github.com/elazarg
Dec 14, 2016https://github.com/python/mypy/pull/2475#issuecomment-266996305
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Dec 14, 2016 https://github.com/python/mypy/pull/2475#pullrequestreview-12965879
View reviewed changes https://github.com/python/mypy/pull/2475/files
test-data/unit/check-classes.testhttps://github.com/python/mypy/pull/2475/files#diff-1c26dc582ed5f36723414080dfb646bc71cf20736b73ae1ccff9b90a5d3befaf
gvanrossumhttps://github.com/gvanrossum
Dec 14, 2016https://github.com/python/mypy/pull/2475#discussion_r92450014
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Dec 14, 2016https://github.com/python/mypy/pull/2475#discussion_r92512391
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
elazarghttps://github.com/elazarg
Jan 7, 2017 https://github.com/python/mypy/pull/2475#ref-pullrequest-199359462
Add support for __init_subclass__ #2654 https://github.com/python/mypy/pull/2654
https://github.com/elazarg
elazarghttps://github.com/elazarg
force-pushedhttps://github.com/python/mypy/compare/0089ec7f6698454854992c92e9a0f837bb971dbf..a91c0a1942c488f60f8f1504e70c39b64f2ffb07
0089ec7https://github.com/python/mypy/commit/0089ec7f6698454854992c92e9a0f837bb971dbf
a91c0a1https://github.com/python/mypy/commit/a91c0a1942c488f60f8f1504e70c39b64f2ffb07
Compare https://github.com/python/mypy/compare/0089ec7f6698454854992c92e9a0f837bb971dbf..a91c0a1942c488f60f8f1504e70c39b64f2ffb07
January 9, 2017 23:53https://github.com/python/mypy/pull/2475#event-916777658
https://github.com/elazarg
elazarghttps://github.com/elazarg
Feb 6, 2017 https://github.com/python/mypy/pull/2475#ref-pullrequest-205470633
Allow E[] where E is an Enum type #2812 https://github.com/python/mypy/pull/2812
elazarghttps://github.com/elazarg
February 6, 2017 19:23https://github.com/python/mypy/pull/2475#commits-pushed-b20cfa4
https://github.com/elazarg
checkerhttps://github.com/python/mypy/pull/2475/commits/b20cfa4b98fb516e99dec1e31b5ec73f762c1bc5
b20cfa4https://github.com/python/mypy/pull/2475/commits/b20cfa4b98fb516e99dec1e31b5ec73f762c1bc5
https://github.com/elazarg
checkexpr and checkmemberhttps://github.com/python/mypy/pull/2475/commits/7eee7641e2f70e89b7b57d66c95c47275b3cb965
7eee764https://github.com/python/mypy/pull/2475/commits/7eee7641e2f70e89b7b57d66c95c47275b3cb965
https://github.com/elazarg
nodeshttps://github.com/python/mypy/pull/2475/commits/6ab73681e3a99457035461d9cf591c48d296dae3
6ab7368https://github.com/python/mypy/pull/2475/commits/6ab73681e3a99457035461d9cf591c48d296dae3
https://github.com/elazarg
semanalhttps://github.com/python/mypy/pull/2475/commits/0d0e9ff83cef8aca39dc9fbe48d22c44410a4646
0d0e9ffhttps://github.com/python/mypy/pull/2475/commits/0d0e9ff83cef8aca39dc9fbe48d22c44410a4646
https://github.com/elazarg
typeshttps://github.com/python/mypy/pull/2475/commits/41ecc8469a7d69d63a9757ed5ff5e4574b975739
41ecc84https://github.com/python/mypy/pull/2475/commits/41ecc8469a7d69d63a9757ed5ff5e4574b975739
https://github.com/elazarg
testcheckhttps://github.com/python/mypy/pull/2475/commits/6dc66b2f24b3d1c8de0303bb5d06657ddfe83899
6dc66b2https://github.com/python/mypy/pull/2475/commits/6dc66b2f24b3d1c8de0303bb5d06657ddfe83899
https://github.com/elazarg
fix name lookup and parse errorshttps://github.com/python/mypy/pull/2475/commits/314a300954d63d24308b596ca9258155f04fac82
314a300https://github.com/python/mypy/pull/2475/commits/314a300954d63d24308b596ca9258155f04fac82
https://github.com/elazarg
Follow metaclass resollution as described in docshttps://github.com/python/mypy/pull/2475/commits/3a053616e3a62d9ebade34a33e2ae8a14f879107
3a05361https://github.com/python/mypy/pull/2475/commits/3a053616e3a62d9ebade34a33e2ae8a14f879107
https://docs.python.org/3/reference/datamodel.html#determining-the-appropriate-metaclasshttps://docs.python.org/3/reference/datamodel.html#determining-the-appropriate-metaclass
https://github.com/elazarg
Some metaclass consistency checkshttps://github.com/python/mypy/pull/2475/commits/c42f777f718941c14d791ae02536598c5321afe4
c42f777https://github.com/python/mypy/pull/2475/commits/c42f777f718941c14d791ae02536598c5321afe4
https://github.com/elazarg
Add testshttps://github.com/python/mypy/pull/2475/commits/5de0e809824dfa6ba18f5ef43cab4e5dd5459e2b
5de0e80https://github.com/python/mypy/pull/2475/commits/5de0e809824dfa6ba18f5ef43cab4e5dd5459e2b
https://github.com/elazarg
serializationhttps://github.com/python/mypy/pull/2475/commits/cf02b0da75109ff0eaeac373418b98392b82e68b
cf02b0dhttps://github.com/python/mypy/pull/2475/commits/cf02b0da75109ff0eaeac373418b98392b82e68b
https://github.com/elazarg
Turns out subtyping is enough for iterablehttps://github.com/python/mypy/pull/2475/commits/f90fc8067c1e563a90c947cceab249b6358c75d0
f90fc80https://github.com/python/mypy/pull/2475/commits/f90fc8067c1e563a90c947cceab249b6358c75d0
https://github.com/elazarg
simplify diffhttps://github.com/python/mypy/pull/2475/commits/ac49100c1b0bda7be007e97da9000efc4bbc505f
ac49100https://github.com/python/mypy/pull/2475/commits/ac49100c1b0bda7be007e97da9000efc4bbc505f
https://github.com/elazarg
simplify diff cont.https://github.com/python/mypy/pull/2475/commits/4c70367b3698a5244d0865a68e9f783bc876b379
4c70367https://github.com/python/mypy/pull/2475/commits/4c70367b3698a5244d0865a68e9f783bc876b379
https://github.com/elazarg
fix inferencehttps://github.com/python/mypy/pull/2475/commits/7876d3fe1ab4296772fee5c9df49d43cc0228c7c
7876d3fhttps://github.com/python/mypy/pull/2475/commits/7876d3fe1ab4296772fee5c9df49d43cc0228c7c
https://github.com/elazarg
elazarghttps://github.com/elazarg
force-pushedhttps://github.com/python/mypy/compare/a91c0a1942c488f60f8f1504e70c39b64f2ffb07..7876d3fe1ab4296772fee5c9df49d43cc0228c7c
a91c0a1https://github.com/python/mypy/commit/a91c0a1942c488f60f8f1504e70c39b64f2ffb07
7876d3fhttps://github.com/python/mypy/commit/7876d3fe1ab4296772fee5c9df49d43cc0228c7c
Compare https://github.com/python/mypy/compare/a91c0a1942c488f60f8f1504e70c39b64f2ffb07..7876d3fe1ab4296772fee5c9df49d43cc0228c7c
February 6, 2017 17:43https://github.com/python/mypy/pull/2475#event-950721576
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017 https://github.com/python/mypy/pull/2475#ref-issue-163044278
Mypy doesn't recognize metaclass implementing __getitem__ #1771 https://github.com/python/mypy/issues/1771
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017 https://github.com/python/mypy/pull/2475#pullrequestreview-20389667
View reviewed changes https://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c
mypy/nodes.pyhttps://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99704776
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99711524
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99711775
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#issuecomment-277848603
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017 https://github.com/python/mypy/pull/2475#pullrequestreview-20397867
View reviewed changes https://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c
mypy/semanal.pyhttps://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99712863
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99714097
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99714815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
February 7, 2017 01:45https://github.com/python/mypy/pull/2475#commits-pushed-c256da5
https://github.com/elazarg
do not initialize metaclass from deserializehttps://github.com/python/mypy/pull/2475/commits/c256da5b47fd7e511a4f6307118db88597a93871
c256da5https://github.com/python/mypy/pull/2475/commits/c256da5b47fd7e511a4f6307118db88597a93871
https://github.com/elazarg
fail for metaclass(Tuple)https://github.com/python/mypy/pull/2475/commits/d65c3b4efd0008c2e6d5b922b0c0c7319aa743a6
d65c3b4https://github.com/python/mypy/pull/2475/commits/d65c3b4efd0008c2e6d5b922b0c0c7319aa743a6
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017 https://github.com/python/mypy/pull/2475#pullrequestreview-20398079
View reviewed changes https://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/mypy/pull/2475#pullrequestreview-20398079
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1771https://github.com/python/mypy/issues/1771
Please reload this pagehttps://github.com/python/mypy/pull/2475
mypy/nodes.pyhttps://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99713182
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Feb 7, 2017https://github.com/python/mypy/pull/2475#discussion_r99717783
Please reload this pagehttps://github.com/python/mypy/pull/2475
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Feb 7, 2017https://github.com/python/mypy/pull/2475#discussion_r99719994
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
mypy/semanal.pyhttps://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99714815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
test-data/unit/check-classes.testhttps://github.com/python/mypy/pull/2475/files/7876d3fe1ab4296772fee5c9df49d43cc0228c7c#diff-1c26dc582ed5f36723414080dfb646bc71cf20736b73ae1ccff9b90a5d3befaf
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2017https://github.com/python/mypy/pull/2475#discussion_r99715205
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2475
elazarghttps://github.com/elazarg
Feb 7, 2017https://github.com/python/mypy/pull/2475#discussion_r99721231
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
last commithttps://github.com/python/mypy/pull/2475/commits/b083a9748f7b01564e8142abc734c87989e68bd2
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
dont use set. fail for metaclass(Tuple)https://github.com/python/mypy/pull/2475/commits/b083a9748f7b01564e8142abc734c87989e68bd2
b083a97https://github.com/python/mypy/pull/2475/commits/b083a9748f7b01564e8142abc734c87989e68bd2
https://github.com/elazarg
elazarghttps://github.com/elazarg
Feb 7, 2017https://github.com/python/mypy/pull/2475#issuecomment-277861106
#1771https://github.com/python/mypy/issues/1771
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 7, 2017https://github.com/python/mypy/pull/2475#issuecomment-277867409
#1771https://github.com/python/mypy/issues/1771
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 7, 2017 https://github.com/python/mypy/pull/2475#pullrequestreview-20410469
View reviewed changes https://github.com/python/mypy/pull/2475/files/b083a9748f7b01564e8142abc734c87989e68bd2
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
cab1e0dhttps://github.com/python/mypy/commit/cab1e0d1a676f10aa947f35dd07d8fe77532b010
Feb 7, 2017https://github.com/python/mypy/pull/2475#event-951320452
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 7, 2017https://github.com/python/mypy/pull/2475#issuecomment-277870311
Please reload this pagehttps://github.com/python/mypy/pull/2475
Mypy should look in metaclass for operations on class objects #2413 https://github.com/python/mypy/issues/2413
MyPy does not consider classes instances of their metaclass #1267 https://github.com/python/mypy/issues/1267
Metaclasses should inherit from type. #2818 https://github.com/python/mypy/issues/2818
Calculate implicit metaclasses #2819 https://github.com/python/mypy/pull/2819
Do not support metaclasses not inheriting from type #2820 https://github.com/python/mypy/pull/2820
JukkaLhttps://github.com/JukkaL
Feb 7, 2017 https://github.com/python/mypy/pull/2475#ref-commit-b731899
https://github.com/elazarg
https://github.com/JukkaL
Calculate implicit metaclasses (https://github.com/python/mypy/commit/b73189983e1921f9df40f28209168ce503c6c8f4
#2819https://github.com/python/mypy/pull/2819
)https://github.com/python/mypy/commit/b73189983e1921f9df40f28209168ce503c6c8f4
b731899https://github.com/python/mypy/commit/b73189983e1921f9df40f28209168ce503c6c8f4
#2475https://github.com/python/mypy/pull/2475
https://github.com/elazarg
elazarghttps://github.com/elazarg
Feb 7, 2017 https://github.com/python/mypy/pull/2475#ref-pullrequest-205911500
Check for member in type-fallback #2822 https://github.com/python/mypy/pull/2822
JukkaLhttps://github.com/JukkaL
Feb 7, 2017 https://github.com/python/mypy/pull/2475#ref-commit-452a64f
https://github.com/elazarg
https://github.com/JukkaL
Do not support metaclasses not inheriting from type (https://github.com/python/mypy/commit/452a64fd1a361204a3123abca57a312e15baa9a3
#2820https://github.com/python/mypy/pull/2820
)https://github.com/python/mypy/commit/452a64fd1a361204a3123abca57a312e15baa9a3
452a64fhttps://github.com/python/mypy/commit/452a64fd1a361204a3123abca57a312e15baa9a3
#2818https://github.com/python/mypy/issues/2818
#2475https://github.com/python/mypy/pull/2475
JukkaLhttps://github.com/JukkaL
Feb 7, 2017 https://github.com/python/mypy/pull/2475#ref-commit-76da328
https://github.com/elazarg
https://github.com/JukkaL
Check for member in type-fallback (https://github.com/python/mypy/commit/76da328232970640f4efde71ba90989ffee7a30b
#2822https://github.com/python/mypy/pull/2822
)https://github.com/python/mypy/commit/76da328232970640f4efde71ba90989ffee7a30b
76da328https://github.com/python/mypy/commit/76da328232970640f4efde71ba90989ffee7a30b
#2413https://github.com/python/mypy/issues/2413
#2475https://github.com/python/mypy/pull/2475
https://github.com/TRManderson
TRMandersonhttps://github.com/TRManderson
Feb 8, 2017 https://github.com/python/mypy/pull/2475#ref-issue-162900006
mypy doesn't understand six.with_metaclass #1764 https://github.com/python/mypy/issues/1764
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 8, 2017 https://github.com/python/mypy/pull/2475#ref-issue-174801474
Typechecking attrs-generated classes #2088 https://github.com/python/mypy/issues/2088
https://github.com/raphCode
raphCodehttps://github.com/raphCode
Jul 17, 2023 https://github.com/python/mypy/pull/2475#ref-issue-1680062937
metaclasses implementing __getitem__ work only in reveal_type(), cannot be used anywhere #15107 https://github.com/python/mypy/issues/15107
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F2475
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/mypy/pull/2475/files/b083a9748f7b01564e8142abc734c87989e68bd2
Please reload this pagehttps://github.com/python/mypy/pull/2475
Please reload this pagehttps://github.com/python/mypy/pull/2475
https://github.com/elazarg
https://github.com/JukkaL
https://github.com/gvanrossum
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.