I’d rather lok into adding slots-based inittab API, and keeping that check. It looks like the inittab could use other improvement as well.
Py_mod_name is currently optional. As a workaround, you should be able to leave it out.
Another workaround I’ve been doing in mutliple-ABI experiments is organizing the array to put the “new” slots first, and giving m_slots an offset so that it points where the “old” slots start. It’s rather cumbersome with C initializer syntax, but you might have better luck.