[Zope-Checkins] CVS: Zope3/src/ZODB - DB.py:1.75

Jeremy Hylton jeremy at zope.com
Thu Apr 15 12:41:43 EDT 2004


Update of /cvs-repository/Zope3/src/ZODB
In directory cvs.zope.org:/tmp/cvs-serv13880/src/ZODB

Modified Files:
	DB.py 
Log Message:
Change positional args to kwargs to simplify subclass implementation.
Add comment about use (or lack thereof) of classFactory in Zope.


=== Zope3/src/ZODB/DB.py 1.74 => 1.75 ===
--- Zope3/src/ZODB/DB.py:1.74	Wed Apr 14 16:45:37 2004
+++ Zope3/src/ZODB/DB.py	Thu Apr 15 12:41:42 2004
@@ -532,7 +532,7 @@
 
             c = pool[-1]
             del pool[-1]
-            c._setDB(self, mvcc, txn_mgr, synch)
+            c._setDB(self, mvcc=mvcc, txn_mgr=txn_mgr, synch=synch)
             for pool, allocated in pooll:
                 for cc in pool:
                     cc.cacheGC()
@@ -613,6 +613,7 @@
                 c._cache.cache_size = v
 
     def classFactory(self, connection, modulename, globalname):
+        # Zope will rebind this method to arbitrary user code at runtime.
         return find_global(modulename, globalname)
 
     def setPoolSize(self, v):




More information about the Zope-Checkins mailing list