Skip to content

[WIP] Support metaclasses - #2392

Closed
elazarg wants to merge 7 commits into
python:masterfrom
elazarg:metaclasses
Closed

elazarg wants to merge 7 commits into
python:masterfrom
elazarg:metaclasses

Conversation

@elazarg

@elazarg elazarg commented Nov 3, 2016

Copy link
Copy Markdown
Contributor

(#2365 take two)
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 will help fixing #2305, but the fix is not part of this PR.

For now it also includes #2391 which is needed for some reason (but is reasonable regardless).

@elazarg

elazarg commented Nov 3, 2016

Copy link
Copy Markdown
Contributor Author

I am not sure now the change to typeshed was actually needed; I think the lookup was wrong :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant