[PyQt] Next Releases of PyQt and SIP

INADA Naoki songofacandy at gmail.com
Fri Oct 16 09:51:21 BST 2009


To reproduce.

class _Base:
  def foo(self):
    self.setWindowTitle('foo')

class MyWindow(QWindow, _Base):
    def __init__(self):
        QWindow.__init__(self)
        self.setWindowTitle()

To avoid segfault:

class _Base(object):

Can't PyQt detect multiple inheritance from old-style class?


-- 
Naoki INADA  <songofacandy at gmail.com>


More information about the PyQt mailing list