Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Thanks for the report and patience. This behavior is still reproducible on 
master as of f55c64c632 . I am adding Raymond as part of triaging who might 
have a better explanation about this. Raymond, feel free to remove yourself if 
this is not relevant.

A slightly cleaned up version of the program with repl statements removed for 
reference : 

class O(object):
     pass

class M(type):
     pass

class N(type):
     pass

class A(O, metaclass=M):
     pass

class B(O, metaclass=N):
     pass

print(B.__bases__)
print(B.__mro__)

print(type(B))
print(type(A))
print(issubclass(type(B), type(A)))

class C(A, metaclass=N):
     pass

class D(B, A):
     pass

class E(B, metaclass=N):
     pass

----------
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue21919>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to