On 21.12.2010 15:59, ext Marcelo Lira wrote:

The second line would fail to emit the "you're calling a default
signal!" warning, for the "signal(bool)" object was marked as "false"
because of the first line.
The fix for the solution would be to return an entirely new signal
object every time "__getitem__" is called. But that would get the
thing more complex and consume more resources. I think that's too much
of a hassle just to emit a warning. A better solution would be to add
the needed information to the documentation and trust the developers
common sense. :)

Hi,

thanks a lot for the analysis. I guess this puts the final bullet to the connecting the default signal signature issue: we're best off the way things are already at the moment.

I'm resolving bug 327 invalid to have it done with.

Cheers,

ma.
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to