http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qvariant.html#toPyObject says nothing about what it does. I just found out it alway returns python long even for small integers. Is that intended or a bug? ii python-qt4 4.9.1-2ubuntu1 Python bindings for Qt4 -- Wolfgang