Hmm, I wonder if we should decref aryobj after doing this. I think the record object shares memory with the array object, so decref-ing aryobj would seem to possibly result in the memory shared by aryobj and record to be prematurely deallocated.