SIGN IN SIGN UP

gh-145497: Use same size of static_types array in all builds (GH-149139)

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.
P
Petr Viktorin committed
fcd53b68726e147a5604848573494a5fd8958b45
Parent: 8066db5
Committed by GitHub <noreply@github.com> on 5/1/2026, 7:41:28 AM