[PyQt] pyqt behavior change

Linos info at linos.es
Sun Aug 1 18:49:11 BST 2010


Hello,
	i don't know if this is a bug or an intended behavior but i am using in my 
machine Arch Linux pyqt 4.7.4 with sip 4.10.5 and in older versions the behavior 
was:

combo = QComboBox()
if combo:
	print "exists"
else:
	print "is none"

would print "exists" and now it prints "is none", i suppose it is a bug because 
the same test with QLabel still print "exists", i have not tested other classes 
though.

Regards,
Miguel Angel.


More information about the PyQt mailing list