ViewVC logotype

Revision 1105

Jump to revision: Previous Next
Author: gross
Date: Thu Apr 19 01:10:49 2007 UTC (15 years, 7 months ago)
Changed paths: 1
Log Message:
The modification fixes a problem with the garbage collection in python. 
The problem seems that a default value of a method argument is seen as
being dependend on the the instance of the class. This produces a
circular dependence and can stop the garbage collection to delete the
object. The situation becomes in particulary bad if the class provides a
__del__ method as it is not clear where to break the circle.

We need to revisit all python classes in escript & Co to remove this
possible problem. 

Changed paths

Path Details
Directorytrunk/escript/py_src/pdetools.py modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26