PyListObject & C Modules

Joshua Gramlich jggramlich at yahoo.com
Tue Sep 3 14:40:49 EDT 2002


Hello,

I have a problem where I need to pass a Python list to a C module, and
have a differnent list passed from the C module back to Python.

I am trying to find examples of this type of activity.  I've found the
documentation at www.python.org (the C api), but I'm a bit green (new)
and cannot read the List Objects page with any, well, usefulness. 
Thus, I cannot figure out exactly if this can or cannot be done and
what the syntax of usage of PyListObject should be...

Little help?



More information about the Python-list mailing list