[z3-checkins] r5488 - in z3/sqlos/trunk: . container

dreamcatcher at codespeak.net dreamcatcher at codespeak.net
Thu Jul 8 16:09:28 MEST 2004


Author: dreamcatcher
Date: Thu Jul  8 16:09:28 2004
New Revision: 5488

Modified:
   z3/sqlos/trunk/container/__init__.py
   z3/sqlos/trunk/metaconfigure.py
Log:
Add some comments

Modified: z3/sqlos/trunk/container/__init__.py
==============================================================================
--- z3/sqlos/trunk/container/__init__.py	(original)
+++ z3/sqlos/trunk/container/__init__.py	Thu Jul  8 16:09:28 2004
@@ -36,6 +36,9 @@
                ISQLObjectContainerSchema)
 
     def __init__(self, classNames=None):
+        # XXX Eventually, we should try to replace
+        # this classNames dead chicken by the use of the
+        # interface __setitem__.precondition.
         if classNames is None:
             classNames = ()
         self.classNames = classNames

Modified: z3/sqlos/trunk/metaconfigure.py
==============================================================================
--- z3/sqlos/trunk/metaconfigure.py	(original)
+++ z3/sqlos/trunk/metaconfigure.py	Thu Jul  8 16:09:28 2004
@@ -51,6 +51,9 @@
                       "Please fix this as soon as possible." %
                       (m_name, c_name),
                       Warning, 1)
+        # XXX instead of creating a new class, we could try to modify
+        # the existingclass inplace by injecting our overriden stuff
+        # on SQLOS into the component __dict__.
         component = MetaSQLObject(component.__name__,
                                   (sqlos.SQLOS, component),
                                   c_dict)


More information about the z3-checkins mailing list