Files
openide/python/testData/codeInsight/classMRO
Mikhail Golubev cbb5fe587a PY-27604 Exclude instantiated metaclasses from ancestor types of a class
but properly take them into account in PyClassType#getMetaClassType().

This check was implemented there instead of PyClass#getMetaClassType()
itself, since the former method already looks up for explicitly declared
metaclasses in ancestors unlike PyClassImpl that considers only those
specified directly in the class definition or its containing module.

Moreover, there are actual usages that expects such behavior from
PyClass#getMetaClassType(), e.g. PyAbstractClassInspection.
2018-01-11 12:45:08 +03:00
..