Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The object returned by tp_new() may not have a tp_init.
If the object is an ExtensionClass, for example, the slot is not even defined. So we must check that the type has the slot (implied by HAVE_CLASS) before calling tp_init().
- Loading branch information