Hi all,

Using Qt 4.3.4 , PyQt4 snapshot from 20071220 , sip 4.7.4 following
example crashes python :

>>> from PyQt4.QtCore import *
>>> a = QByteArray()
>>> b = QDataStream(a, QIODevice.ReadOnly)
>>> b.readString()
zsh: segmentation fault  python

If you write same code using C++ you get an empty string instead which
is more preferable over a crash.

Regards,
ismail

-- 
Never learn by your mistakes, if you do you may never dare to try again.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to