Message12458

Author zyasoft
Recipients bmvanwyk, jeff.allen, tomluk, wfouche2, zyasoft
Date 2019-04-27.01:34:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556328885.24.0.576141074474.issue2445@roundup.psfhosted.org>
In-reply-to
Content
@Jeff, I wrote test_diamond_inheritance, so I can address this question reasonably well. The MRO assertion is most likely wrong, given this change in C3 vs Java resolution.

However, I believe the MRO computation should still be deterministic, based on the ordering of bases. Perhaps separate out in 2 assertions or even 2 tests?

* Precedence of Iterable before Map
* Determinism of MRO computation

I would still recommend using stringification, then unpack for the actual precedence, eg mro_str[1:-1].split(", "), etc
History
Date User Action Args
2019-04-27 01:34:45zyasoftsetmessageid: <1556328885.24.0.576141074474.issue2445@roundup.psfhosted.org>
2019-04-27 01:34:45zyasoftsetrecipients: + zyasoft, jeff.allen, tomluk, bmvanwyk, wfouche2
2019-04-27 01:34:45zyasoftlinkissue2445 messages
2019-04-27 01:34:45zyasoftcreate