[PyKDE] PyQt and Python 2.2 new-style classes

Gordon Tyler gordon at doxxx.net
Tue Jun 18 13:06:00 BST 2002


On June 18, 2002 10:47 am, Phil Thompson wrote:
> Gordon Tyler wrote:
> > Hi,
> >
> > Is PyQt/PyKDE going to use Python 2.2 new-style classes? I would like to
> > be able to use some of the features of new-style classes like static
> > methods and properties in classes that are derived from Qt classes.
>
> No current plans.

Should it be possible for me to do the following?

class MyWidget(QWidget, object):
	etc...

Thanks,
Gordon




More information about the PyQt mailing list