[Zope-Checkins] CVS: ZODB3/ZODB - cPersistence.c:1.65

Jeremy Hylton jeremy@zope.com
Wed, 16 Oct 2002 12:12:48 -0400


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

Modified Files:
	cPersistence.c 
Log Message:
Replace initialization of persetattro in cPersistenceCAPI.

It appears the initialization was accidentally removed in rev. 1.51.
Add comment about why percachedel is not initialized here.


=== ZODB3/ZODB/cPersistence.c 1.64 => 1.65 ===
--- ZODB3/ZODB/cPersistence.c:1.64	Tue Oct  1 11:06:17 2002
+++ ZODB3/ZODB/cPersistence.c	Wed Oct 16 12:12:48 2002
@@ -837,7 +837,10 @@
   deallocated,
   (intfunctionwithpythonarg)Per_setstate,
   (pergetattr)Per_getattr,
-  NULL
+  (persetattr)_setattro,
+  NULL /* The percachedel slot is initialized in cPickleCache.c when
+          the module is loaded.  It uses a function in a different
+          shared library. */
 };
 
 void