On Thu, Oct 21, 2010 at 2:12 PM, Renato Araujo Oliveira Filho
<[email protected]> wrote:
> 3 - The last option is to make mandatory use of the signature when
> connecting signals.
> In my opinion this is the best solution, because this avoids mistakes
> and make the things compatible with PySide and PyQt with less work.
> The other good point of this option is: You can keep your code
> compatible with other Qt versions even though new signals are inserted
> before the old ones or if one signal with only one signature receive a
> new signature in future Qt versions.

I like this option better. It is consistent with C++ (or can you leave
the signature empty in C++ as well?), avoids hidden bugs, has
predictable behavior, and is forward compatible with future changes.

At the very minimum, a warning should be shown saying that a signature
was not specified and which signature is being used (for debugging
purposes).

My two cents,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to