[PyQt] Return value of QObject.connect()

Phil Thompson phil at riverbankcomputing.com
Mon Jan 28 15:56:49 GMT 2008


On Monday 28 January 2008, Ulrich Berning wrote:
> When connecting a non existent signal, QObject.connect() should return
> False (as documented).
>
> This works well with PyQt3.
> PyQt4 (latest snapshot) always returns True.
>
> Have I missed something? Is this behaviour documented somewhere or is it
> a bug?

It's a feature - I should never have removed PYSIGNAL().

Phil


More information about the PyQt mailing list