[PyQt] Crash QStringList on windows

Phil Thompson phil at riverbankcomputing.com
Fri Oct 31 23:51:14 GMT 2008


On Fri, 31 Oct 2008 16:50:41 +0600, Alexandr N Zamaraev <tonal at promsoft.ru>
wrote:
>>s = QtCore.QStringList(set(['1', '2', '3']))
> This line crach python interpreter
> 
> But
>  >s = QtCore.QStringList(list(set(['1', '2', '3'])))
> work ok.
> 
> My Environment:
> WinVista Home Basic Ru + sp1
> Python 2.5.2
> sip 4.7.7 (from source, build gcc mingw 3.4.5)
> Qt 4.4.1 (from source, build gcc mingw 3.4.5)
> PyQt 4.4.3 (from source, build gcc mingw 3.4.5)

It will be fixed (to raise an exception) in tonight's snapshot.

Thanks,
Phil


More information about the PyQt mailing list