Re: [PyQt] pyqt behavior change

2011-08-24 Thread Ingrid Dahl-Olsen
Hi, Sorry for commenting on a post this old, but I've only just run into this change as I'm using PyQt in maya at work, and so have been stuck with using 4.7.2 until very recently when it was bumped up to 4.8.4. Just out of curiosity, is it really wrong to expect an instance of a widget

Re: [PyQt] pyqt behavior change

2011-08-24 Thread Phil Thompson
On Wed, 24 Aug 2011 12:51:52 +0100, Ingrid Dahl-Olsen i...@dneg.com wrote: Hi, Sorry for commenting on a post this old, but I've only just run into this change as I'm using PyQt in maya at work, and so have been stuck with using 4.7.2 until very recently when it was bumped up to 4.8.4.

Re: [PyQt] pyqt behavior change

2010-08-02 Thread Linos
Ok, i have been using this format because it is more compact and a bit faster but i will change my code, any other qt classes that have added lately a __len__() method? From what version can i account this changes? Thanks for the info. Regards, Miguel Angel. El 01/08/10 23:34, Phil Thompson

Re: [PyQt] pyqt behavior change

2010-08-02 Thread Phil Thompson
On Mon, 02 Aug 2010 08:37:10 +0200, Linos i...@linos.es wrote: Ok, i have been using this format because it is more compact and a bit faster ...and wrong... but i will change my code, any other qt classes that have added lately a __len__() method? From what version can i account this

[PyQt] pyqt behavior change

2010-08-01 Thread Linos
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

Re: [PyQt] pyqt behavior change

2010-08-01 Thread Phil Thompson
On Sun, 01 Aug 2010 19:49:11 +0200, Linos i...@linos.es wrote: 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