Extending Python - variable sized arrays?

Tim Egbert tegbert at abl.med.utah.edu
Wed Oct 17 00:54:29 CEST 2001


Actually, the problem I'm having is down in the "C" code for the native
method.  I don't see how I can solve it in the Python code.


> On 16 Oct 2001, Paul Rubin wrote:
> 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).

More information about the Python-list mailing list