On Monday 28 February 2011 01:58:46 flya flya wrote:
> My project has many class using multiple inheritance to reuse some code,
> like thses:
> 
> Class FooDialog(QDialog, MixinBase):
>           .....
> 
> I find when the MixinBase defined without object as its parent, the program
> often crash.
> 
> Class MixinBase:
>      pass
> 
> But when make it from object, the problem goes awary.
> 
> Class MixinBase(object):
>     pass
> 
> I dont know the difference between the two class, and not sure is this a
> PySide bug.
> Because this is only occasional, I can‘t write some code to display it,
> just post the issue here.

It's a bug, PySide should not crash when a old style class is used, if it 
can't deal with old style classes a exception should be throw, not a seg 
fault.

Could you file a bug report? (http://bugs.openbossa.org)

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to