pyqt  

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

Phil Thompson
Sat, 03 May 2008 06:54:28 -0700

On Thursday 01 May 2008, İsmail Dönmez wrote:
> Hi,
>
> Following code will crash with PyQt4 snapshot and older versions :
> >>> a = str("")
> >>> b = QDataStream(a, QIODevice.ReadOnly)
> >>> b.readDouble()
>
> zsh: segmentation fault  python

Fixed in tonight's snapshot.

Thanks,
Phil

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt