Re: Creating arrays (builtin) in C Extensions

2007-02-28 Thread Duncan Booth
"iwl" <[EMAIL PROTECTED]> wrote: > there is an builtin documented array module in phyton, > but no documentation how such an array can be > created in C-Extension functions. I would guess you create an array from C the same way you create any other Python objects. So call PyImport_ImportModule t

Creating arrays (builtin) in C Extensions

2007-02-28 Thread iwl
Hello, there is an builtin documented array module in phyton, but no documentation how such an array can be created in C-Extension functions. So I have to use Lists at time, but this is I think inefficient with large data sets. Is there some interface aviable which I can link to my Programm witho