Commit 541834a
committed
gh-145497: Use same size of static_types array in all builds
When someone adds a new type but doesn't increment
`_Py_MAX_MANAGED_STATIC_BUILTIN_TYPES` or
`_Py_MAX_MANAGED_STATIC_EXT_TYPES`, JIT tests fail,
because JIT builds define an extra type.
But the JIT tests don't necessarily run for the commit
that causes the failure.
As a workaround, use the same size for the array for all
builds, potentially with an empty spot.1 parent 9633c52 commit 541834a
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
532 | 534 | | |
533 | 535 | | |
534 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2526 | 2526 | | |
2527 | 2527 | | |
2528 | 2528 | | |
2529 | | - | |
| 2529 | + | |
2530 | 2530 | | |
2531 | 2531 | | |
2532 | 2532 | | |
| |||
2643 | 2643 | | |
2644 | 2644 | | |
2645 | 2645 | | |
| 2646 | + | |
| 2647 | + | |
2646 | 2648 | | |
2647 | 2649 | | |
2648 | 2650 | | |
| |||
2667 | 2669 | | |
2668 | 2670 | | |
2669 | 2671 | | |
2670 | | - | |
| 2672 | + | |
2671 | 2673 | | |
2672 | 2674 | | |
2673 | 2675 | | |
| |||
2707 | 2709 | | |
2708 | 2710 | | |
2709 | 2711 | | |
2710 | | - | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
2711 | 2715 | | |
2712 | 2716 | | |
2713 | 2717 | | |
| |||
0 commit comments