Message358939
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. |
|
Date |
User |
Action |
Args |
2019-12-28 10:50:04 | cykerway | set | recipients:
+ cykerway, steven.daprano |
2019-12-28 10:50:04 | cykerway | set | messageid: <1577530204.14.0.0748083854951.issue39145@roundup.psfhosted.org> |
2019-12-28 10:50:04 | cykerway | link | issue39145 messages |
2019-12-28 10:50:04 | cykerway | create | |
|