Repository navigation
Commit 6d5e572
test(taint): pin C3 merge order for a first base's own ancestor
class D(Base, Mixin) with Base(Root) must resolve Root.handle before
Mixin.handle, as CPython's MRO does. Add that shape and a twin whose
Root.handle is harmless to the C3 test. Merging the bases list first,
or merging the bases in reverse, now fails the test.
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 991bc3e commit 6d5e572
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2557 | 2557 | | |
2558 | 2558 | | |
2559 | 2559 | | |
2560 | | - | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
2561 | 2580 | | |
2562 | 2581 | | |
2563 | 2582 | | |
| |||
0 commit comments