Cyker Way <[email protected]> added the comment:
Ahhh, 1 second, I haven't really quit from this. I could open another thread
but it's highly related to this one.
I just came up with something that looks like a bug not a feature in the
original c3.
#!/usr/bin/env python3
# A C
# B D X A
# E F
# G
class A(object): pass
class B(A): pass
class C(object): pass
class D(C): pass
class X(object): pass
class E(B, D, A): pass
class F(B, D, X, A): pass
class G(E, F): pass
print(G.mro())
The script fails. It cannot find GEFBDCXA, which looks valid?
You can close again if you feel this isn't a bug. I'm gone for a while.
----------
resolution: not a bug ->
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39145>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com