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 cykerway
Recipients cykerway, steven.daprano
Date 2019-12-28.10:50:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577530204.14.0.0748083854951.issue39145@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-12-28 10:50:04cykerwaysetrecipients: + cykerway, steven.daprano
2019-12-28 10:50:04cykerwaysetmessageid: <1577530204.14.0.0748083854951.issue39145@roundup.psfhosted.org>
2019-12-28 10:50:04cykerwaylinkissue39145 messages
2019-12-28 10:50:04cykerwaycreate