[Tutor] PyQt segfault
David Boddie
david at boddie.org.uk
Sun Dec 2 18:17:45 CET 2007
On Sat Dec 1 19:12:01 CET 2007, Tiago Saboga wrote:
> If I understand that correctly, my Aux.mystring is pointing to the
> same object passed by QtCore.SIGNAL, which is being garbage-collected?
> But the reference in Aux.mystring should not be enough to keep the
> object around?
I think PyQt would have to copy the QString internally to do this, and
maybe it only copies a pointer to the QString. You would need to ask this
question on the PyQt mailing list to get an accurate answer to this
question; it's located here:
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
If you're reluctant to join another mailing list just to ask one question
then I can ask it on your behalf. Let me know if would prefer that.
David
More information about the Tutor
mailing list