[PyQt] BUG: pyqtSignal('QString') vs pyqtSignal(['QString'])
causes crash
Phil Thompson
phil at riverbankcomputing.com
Sat Apr 11 14:10:03 BST 2009
On Fri, 10 Apr 2009 14:58:30 -0700 (PDT), Demetrius Cassidy
<dcassidy36 at mass.rr.com> wrote:
> I am not sure if passing a string by itself to pyqtSignal is correct, but
> shoulden't it raise an exception instead of crashing? I don't see why we
> can't use this form instead.
>
> If I use the latter form of pyqtSignal(['QString']), passing it a list of
> strings, everything works great. If I pass it a quoted string, I get a
> crash
> in QtCore.pyd using the latest nightly build (0409)
>
> Simple test case, replace pyqtSignal('QString') with
> pyqtSignal(['QString'])
> and it works OK.
Should be fixed in tonight's snapshot.
Thanks,
Phil
More information about the PyQt
mailing list