[Zope-Checkins] CVS: ZODB3/ZODB - Connection.py:1.98.6.2

Jeremy Hylton jeremy@zope.com
Tue, 1 Jul 2003 15:52:04 -0400


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv32126/ZODB

Modified Files:
      Tag: zodb33-devel-branch
	Connection.py 
Log Message:
__basicnew__() is replaced with __new__(klass).


=== ZODB3/ZODB/Connection.py 1.98.6.1 => 1.98.6.2 ===
--- ZODB3/ZODB/Connection.py:1.98.6.1	Tue Jul  1 15:34:10 2003
+++ ZODB3/ZODB/Connection.py	Tue Jul  1 15:52:03 2003
@@ -159,7 +159,7 @@
 
         if (args is None or
             not args and not hasattr(klass,'__getinitargs__')):
-            object=klass.__basicnew__()
+            object=klass.__new__(klass)
         else:
             object = klass(*args)
             if klass is not type:
@@ -197,7 +197,7 @@
                     # object's actual record!
                     return self[oid]
 
-            object=klass.__basicnew__()
+            object=klass.__new__(klass)
             object._p_oid=oid
             object._p_jar=self
             object._p_changed=None