Probably this should be `map(pyincref, convert(Array{PyPtr}, o))` so that we increment the reference counts before making the new array.  Similarly below.