Platform<=>version conflict or what?

Jorma Paavola Jorma.Paavola at Elisanet.fi
Sat May 5 01:45:50 PDT 2007


Werner F. Bruhin kirjoitti:
> Hi Jorma,
> 
> Jorma Paavola wrote:
>> ..
>> I have one question about your "gc.function-code":
>> - what/how is the meaning/use of last row: x = gc.collect() ?
> It does the Python garbage collection, i.e. free unused resources.
> 
>  From the manual:
> 3.2 gc -- Garbage Collector interface
> collect()
> Run a full collection. All generations are examined and the number of 
> unreachable objects found is returned.
> 
> 
> Werner
Hi Werner !

Thanks again !

- I tested gc.collect() in other test-modules and it works (of course) !

However when I call MyGcCollect()-function from my TestGUI-sw I get error:
> self.dlgPro.Destroy()
> AttributeError: 'int' object has no attribute 'dlgPro'

Also when I force wx.ProgressDialog to run I get error:
> NameError: global name '_' is not defined

All this mess obviously means, that the arguments used in my 
MyGcCollect()-functioncall were foolish incorrect or my setups~ !??

Could you advice !

Jorma





More information about the wxpython-users mailing list