Alexandr N Zamaraev wrote:
I reproduce this with
sip-4.8-snapshot-20090424 (self build)
PyQt-win-gpl-4.5-snapshot-20090328 (self build)
Call Garbage Collector after the closing of the dialogue does not
produce any effect.
Sorry.
I found. This is my reference cycle.
You cannot instantiate a base class wrapped through sip with super. You need
to directly call the base class contructor via the __init__ method.
I quote "The way that super is currently implemented means that the lazy
lookup is bypassed resulting in AttributeError exceptions unless the
attribute
Alexandr N Zamaraev wrote:
Os Windows Vista Home Ru + sp1
g++ (GCC) 3.4.5 (mingw-vista special r3)
Qt 4.5 (self build)
sip-4.7.9 (self build)
PyQt-win-gpl-4.4.4.zip (self build)
I reproduce this with
sip-4.8-snapshot-20090424 (self build)
PyQt-win-gpl-4.5-snapshot-20090328 (self build)
Call Gar
Looks like I got very simplified code.
The real hierarchy for the Data and Model looks like this (may be more
levels):
[code]
class BaseData(QObject):
def __init__(self):
super(BaseData, self).__init__()
...
class FinalData(BaseData):
...
class BaseModel(QAbstractItemModel):
def _
> Os Windows Vista Home Ru + sp1
> g++ (GCC) 3.4.5 (mingw-vista special r3)
> Qt 4.5 (self build)
> sip-4.7.9 (self build)
> PyQt-win-gpl-4.4.4.zip (self build)
>
> I was unable to allocate a minimum example. Here is pseudocode situations:
> [code]
>
> class BaseData(QObject):
>def save(self, o
Os Windows Vista Home Ru + sp1
g++ (GCC) 3.4.5 (mingw-vista special r3)
Qt 4.5 (self build)
sip-4.7.9 (self build)
PyQt-win-gpl-4.4.4.zip (self build)
I was unable to allocate a minimum example. Here is pseudocode situations:
[code]
class BaseData(QObject):
def save(self, obj):
self.emit(Q