Tom> While looking at this I think I found even more reference counting bugs. I thought perhaps the weird logic in inferior_to_inferior_object would cause problems. But it turns out that the struct inferior doesn't own a reference, and infpy_dealloc solves the problem I thought I was seeing. Tom