This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients abusalimov, rhettinger, xtreak
Date 2018-09-27.08:10:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538035855.17.0.545547206417.issue21919@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-09-27 08:10:55xtreaksetrecipients: + xtreak, rhettinger, abusalimov
2018-09-27 08:10:55xtreaksetmessageid: <1538035855.17.0.545547206417.issue21919@psf.upfronthosting.co.za>
2018-09-27 08:10:55xtreaklinkissue21919 messages
2018-09-27 08:10:55xtreakcreate