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


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to