Message326532
| 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:55 | xtreak | set | recipients:
+ xtreak, rhettinger, abusalimov |
| 2018年09月27日 08:10:55 | xtreak | set | messageid: <1538035855.17.0.545547206417.issue21919@psf.upfronthosting.co.za> |
| 2018年09月27日 08:10:55 | xtreak | link | issue21919 messages |
| 2018年09月27日 08:10:55 | xtreak | create |
|