Message12458
 
            
            
            
 
   
   
 
  | @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 |  |
 
| Date | User | Action | Args |  | 2019-04-27 01:34:45 | zyasoft | set | messageid: <1556328885.24.0.576141074474.issue2445@roundup.psfhosted.org> |  | 2019-04-27 01:34:45 | zyasoft | set | recipients:
  + zyasoft, jeff.allen, tomluk, bmvanwyk, wfouche2 |  | 2019-04-27 01:34:45 | zyasoft | link | issue2445 messages |  | 2019-04-27 01:34:45 | zyasoft | create |  | 
 |