I read these three C api functions, They are similar, because they all
construct a tuple[1].

IMHO, Py_BuildValue is more simple to use than PyTuple_Pack that is more
simple to use than PyTuple_New.

Where to use one or the other? What's the relative performance of the three
functions?

[1] actually, Py_BuildValue can also return non-tuple objects.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to