Re: Py_BuildValue vs PyTuple_Pack vs PyTuple_New

2020-10-20 Thread Marco Sulla
Good, thank you a lot again. -- https://mail.python.org/mailman/listinfo/python-list

Re: Py_BuildValue vs PyTuple_Pack vs PyTuple_New

2020-10-20 Thread Serhiy Storchaka
20.10.20 18:05, Marco Sulla пише: > 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