Wrap C function which takes variable lengthed parameters?

Courageous jkraska at san.rr.com
Fri Dec 14 23:04:20 EST 2001


>And I really hope python will provide some way to ease
>the wrapping on varargs functions some day. But it is 
>hard.

It's a C problem, not a Python problem. Since Python itself
is coded in C, there will never be any easy, portable solution
to what you describe. Obviously this could be handled by
writing machine-specific inline assembly, however I'm not
convinced the value gained is worth the downside.

C?/




More information about the Python-list mailing list