[Zodb-checkins] CVS: Zope3/lib/python/ZODB - IConnection.py:1.1.2.5

Jeremy Hylton jeremy@zope.com
Wed, 20 Mar 2002 15:36:19 -0500


Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv6126

Modified Files:
      Tag: Zope-3x-branch
	IConnection.py 
Log Message:
Simplify connection between DB and Connection.

The DB object is passed as the first arg to Connection.  Instead of
calling registerDB() every time the Connection is used, do most
initialization in the constructor.  When a Connection is re-used from
the pool, call reset().

Also, remove indirection in DB to create a Connection.





=== Zope3/lib/python/ZODB/IConnection.py 1.1.2.4 => 1.1.2.5 ===
     def close():
         # XXX
+