py2llvm: replace array with list