<br><br><div class="gmail_quote">On Fri, Aug 6, 2010 at 10:53, Mailing List SVR <span dir="ltr"><<a href="mailto:lists@svrinformatica.it">lists@svrinformatica.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Il giorno gio, 05/08/2010 alle 03.10 -0400, Luke Campagnola ha scritto:<br>
<div><div></div><div class="h5">> $ python<br>
> >>> from PyQt4.QtGui import *<br>
> >>> a = QApplication([])<br>
> >>> s = QSpinBox()<br>
> >>> l = s.lineEdit()<br>
> >>> del s<br>
> >>> l.text()<br>
> Segmentation fault<br>
<br>
</div></div>PySide is more forgiving and raise the following error:<br>
<br>
RuntimeError: Internal C++ object already deleted.<br></blockquote><div><br></div><div><br></div><div>Thanks, I'll have to look into this. I had not heard of PySide before.</div><div><br></div><div> Luke</div></div>