Fix a bunch of destructor stuff
First, our implementation of slot_tp_del (what calls Python-level __del__ methods) was pretty bad -- it didn't re-incref the object to keep it alive. Then we had some issues around running destructors at shutdown. I made this section look a bit more like CPython's, but there are still differences.
Showing
Please register or sign in to comment