bpo-38631: Avoid Py_FatalError() in init_slotdefs() (GH-18263)
Rename init_slotdefs() to _PyTypes_InitSlotDefs() and add a return value of type PyStatus. The function is now called exactly once from _PyTypes_Init(). Replace calls to init_slotdefs() with an assertion checking that slotdefs is initialized.
V
Victor Stinner committed
7a1f6c2da46a04d0ff0acc01542f30bfeaf0e0c7
Parent: 5eb8bff
Committed by GitHub <noreply@github.com>
on 1/30/2020, 8:02:14 AM