Is PyArg_ParseTuple necessary to parse arguments?

rahulgarg44 at gmail.com rahulgarg44 at gmail.com
Tue Jan 22 12:20:39 EST 2013


Or can I just loop through the argument tuple manually by using something like PyTuple_GET_ITEM(args,i), then putting manual code to convert the objects to appropriate C type?

The use case is that I am interfacing Python with another interpreter and do not know the type and number of arguments till runtime :)

rahul




More information about the Python-list mailing list