Yep,
Creating a wrapping class that inherits from the old style class and 'object' seems to work just fine.

Thanks,
Gerald.

On 27/04/2011 8:49 PM, Lauro Moura wrote:
On Wed, Apr 27, 2011 at 9:44 AM, Lauro Moura<[email protected]>  wrote:
On Wed, Apr 27, 2011 at 9:33 AM, Renato Araujo Oliveira Filho
<[email protected]>  wrote:
Hi Gerald,

Yes we decided do not support old style class inheritance, you can
check the more info on: http://bugs.pyside.org/show_bug.cgi?id=704

That info is also available in the Shiboken docs:

http://www.pyside.org/docs/shiboken-1.0.1/wordsofadvice.html#python-old-style-classes-and-pyside

BTW, the first thing I'd try is wrapping the old-style in a new-style
Mixin, as the check affects only direct base classes, but not
Grandparents and higher bases.



--
Gerald Storer | MRX Technologies
+61 8 9227 4529 | [email protected] <mailto:[email protected]> | http://www.mrxtech.com.au
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to