Is PyArg_ParseTuple necessary to parse arguments?

rahulgarg44 at rahulgarg44 at
Tue Jan 22 18:20:39 CET 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 :)


More information about the Python-list mailing list