[PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

Phil Thompson phil at riverbankcomputing.com
Mon Feb 7 22:40:41 GMT 2011


On Sun, 6 Feb 2011 15:49:59 +0100, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> On Thursday 03 February 2011, 11:02:32 Phil Thompson wrote:
>> On Thu, 3 Feb 2011 00:42:05 +0100, "Hans-Peter Jansen"
>> <hpj at urpla.net>
>>
>> > Other than that, I'm pretty baffled at the moment. How could I
>> > debug this issue any further? If I'm going to try bisecting it,
>> > would you think, that rebuilding sip is sufficient (supposed, that
>> > 4.12 will not be affected, and hence the issue won't cross library
>> > version changes)?
>> >
>> > Begging-for-ideas-ly-yours,
>> > Pete
>>
>> As your test case is so simple, and that the only bug reports I've
>> had for either SIP or PyQt are a couple related to pyuic, it suggests
>> that the problem is the way you are building them.

I've now got to the bottom of this. It's a Python bug (#4230) which
incorrectly handles __getattr__ when it is a descriptor.

It was fixed in Python v2.5.3 and v2.6.1

Phil


More information about the PyQt mailing list