[PyQt] changing to qlist to use PyIter_Next instead of assuming a python list

Erick Tryzelaar idadesub at users.sourceforge.net
Thu Aug 14 04:56:04 BST 2008


I've got a case where I'd like to pass in a tuple to a function that
accepts a QList. Unfortunately, PyQt4 assumes that it's getting a
list, and will error out with an invalid type being passed in. Would
it be possible to use PyObject_GetIter/PyIter_Next to walk over the
items?


More information about the PyQt mailing list