pyqt  

[PyQt] QDataStream shouldn't accept str as first argument

İsmail Dönmez
Thu, 01 May 2008 05:37:42 -0700

Hi,

Following code will crash with PyQt4 snapshot and older versions :

>>> a = str("")
>>> b = QDataStream(a, QIODevice.ReadOnly)
>>> b.readDouble()
zsh: segmentation fault  python

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