[Python-Dev] PyArg_ParseTuple and Py_BuildValue question

Hrvoje Nikšić hrvoje.niksic at avl.com
Wed Apr 23 09:00:57 CEST 2008


On Thu, 2008-04-10 at 09:23 +0800, Alvin Delagon wrote:
> I'm currently writing a simple python SCTP module in C. So far it
> works sending and receiving strings from it.
[...]
> I'm going to construct an SS7 packet in python using struct.pack(). 
> Here's the question, how am I going to pass the packet I wrote in 
> python to my module and back? I already asked this question in 
> comp.lang.python but so far no responses yet.

Have you tried posting to the C API mailing list?

http://mail.python.org/mailman/listinfo/capi-sig




More information about the Python-Dev mailing list