On Friday 29 April 2011, 09:59:40 Andrei Kopats wrote:
> Hi,
>
> Few days ago QModelIndex.internalPointer was discussed here.
> I also have problems with it. I can't say exactly, when crash occurs,
> and when it doesn't, but, this code generates crash for me:
>
>             index = self.createIndex(row, column, True)
>             print index.internalPointer()
>
> I tried to pass object (which has other references, so, is not
> destroyed by gc), integer, bool value as internalPoitner, and have
> crashes in any case. I use the latest PyQt and SIP snapshots.

You need to provide a minimal runnable example, and describe the 
procedure to provoke the failure.

Don't forget to mention your environment, and paste in python and gdb 
tracebacks.

Pete
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to