[PyKDE] Model indexes and internal pointers

Arve Knudsen arve.knudsen at gmail.com
Sun Jul 16 11:34:34 BST 2006


Phil: Might it be an idea to make QModelIndex update the reference
count for its "internalPointer"? This is only a suggestion on my part,
as I'm in not an expert on Python/C++ interfacing. I just resolved
some mysterious segfaults in an application of mine to a temporary
Python object being stored in a QModelIndex, and some robustness
towards this sort of thing in PyQt would be great.

Arve




More information about the PyQt mailing list