[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Model indexes and internal pointers
From:       "Arve Knudsen" <arve.knudsen () gmail ! com>
Date:       2006-07-16 10:34:34
Message-ID: a0d6258d0607160334r3bbf707bn42d75621b6682d47 () mail ! gmail ! com
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic