Adding C API for use in tp_traverse

It sounds to me that for most of these with the error handling an Unchecked variant might solve the issue without needing a new convention.