commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r7352 - in trunk: gnue-appserver/src/gcd gnue-appserver/src/gld g


From: johannes
Subject: [gnue] r7352 - in trunk: gnue-appserver/src/gcd gnue-appserver/src/gld gnue-common/src/definitions
Date: Tue, 12 Apr 2005 04:39:26 -0500 (CDT)

Author: johannes
Date: 2005-04-12 04:39:25 -0500 (Tue, 12 Apr 2005)
New Revision: 7352

Modified:
   trunk/gnue-appserver/src/gcd/readgcd.py
   trunk/gnue-appserver/src/gld/readgld.py
   trunk/gnue-common/src/definitions/GParserHelpers.py
Log:
Removed obsolete unlink () method


Modified: trunk/gnue-appserver/src/gcd/readgcd.py
===================================================================
--- trunk/gnue-appserver/src/gcd/readgcd.py     2005-04-12 09:34:11 UTC (rev 
7351)
+++ trunk/gnue-appserver/src/gcd/readgcd.py     2005-04-12 09:39:25 UTC (rev 
7352)
@@ -304,9 +304,6 @@
 
         finally:
           self.__currentClass = None
-
-          # Make sure to unlink all reference cycles to let the gc work
-          schema.unlink ()
           schema = None
 
       finally:

Modified: trunk/gnue-appserver/src/gld/readgld.py
===================================================================
--- trunk/gnue-appserver/src/gld/readgld.py     2005-04-12 09:34:11 UTC (rev 
7351)
+++ trunk/gnue-appserver/src/gld/readgld.py     2005-04-12 09:39:25 UTC (rev 
7352)
@@ -261,7 +261,6 @@
           self.__currentModule = None
           self.__currentClass  = None
 
-          schema.unlink ()
           schema = None
 
       finally:

Modified: trunk/gnue-common/src/definitions/GParserHelpers.py
===================================================================
--- trunk/gnue-common/src/definitions/GParserHelpers.py 2005-04-12 09:34:11 UTC 
(rev 7351)
+++ trunk/gnue-common/src/definitions/GParserHelpers.py 2005-04-12 09:39:25 UTC 
(rev 7352)
@@ -55,29 +55,6 @@
 
 
   # ---------------------------------------------------------------------------
-  # Break up all links to the parent object
-  # ---------------------------------------------------------------------------
-
-  def unlink (self):
-    """
-    Unlink the instance from it's parent and clear the children- and
-    initialization-sequences. This function is called recursively for all child
-    elements. It breaks up cyclic references, helping the garbage collection to
-    free object trees.
-    """
-
-    print "DEPRECIATED call of unlink ()"
-    return
-    self.setParent (None)
-
-    for child in self._children:
-      child.unlink ()
-
-    del self._children [:]
-    del self._inits [:]
-
-
-  # ---------------------------------------------------------------------------
   # Return the parent instance of an object in a GObj tree
   # ---------------------------------------------------------------------------
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]