Variable arguments in modules

Mats Lidell (Mats.Lidell@eua.ericsson.se)
Wed, 3 Nov 93 09:48:41 +0100

Hi Folks,

A variable number of arguments to a C-function isn't that unusual. (At
least I have a C-library that I would like to interface to python that
has a lot of functions that take variable number of arguments.)
Unfortunately it seems like the support for extension modules written
in C currently doesn't support this. Right?

I guess I can always write a C-layer with fixed number argument
functions that concatenates the arguments and a corresponding python
wrapper but that seems a bit silly.

Q1: Is there some neat way to do this that I'm missing?

Q2: Any experiences from the list with this problem would be
appreciated? (source ;-)

%% Mats