Tim Egbert <tegbert at abl.med.utah.edu> writes: > Returning the array as a tuple using Py_BuildValue() is a problem because, > although I can create the format string dynamically, I can't create a > dymanically sized argument list. Use the apply function. apply(f, [1,2,3]) is the same as f(1,2,3).