[Zope-Checkins] CVS: Zope - setup.py:1.55

Jeremy Hylton jeremy at zope.com
Wed Feb 18 21:59:36 EST 2004

Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv11908

Modified Files:
Log Message:
Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head).

Add support for persistent weak references.  The implementation is in
pure Python right now; coptimizations.c was disabled.  We need to
restore the C code before going to beta.

The persistent reference format has evolved a little, but the code on
the branch doesn't document it.  The ref is usually a an oid-class
pair, where the class is an actual class object.  It can also be a
list, for weak references, or a bare oid.

Add support for data managers written against the ZODB4 transaction
API.  The transaction implementation provides an adapter between the
two interfaces.  There's a substantial doctest test suite for this

Add add() method to Connection to explicitly add an object and get it
an assigned _p_oid.  It's possible to add an unconnected object; this
isn't recommended, because it will be lost at pack time.

=== Zope/setup.py 1.54 => 1.55 ===
--- Zope/setup.py:1.54	Wed Feb 18 10:09:05 2004
+++ Zope/setup.py	Wed Feb 18 21:59:05 2004
@@ -579,9 +579,10 @@
-        Extension(name='ZODB.coptimizations',
-                  include_dirs=['persistent'],
-                  sources=['ZODB/coptimizations.c']),
+        # XXX We need to rewrite this soon.
+##        Extension(name='ZODB.coptimizations',
+##                  include_dirs=['persistent'],
+##                  sources=['ZODB/coptimizations.c']),

More information about the Zope-Checkins mailing list