[Zodb-checkins] CVS: ZODB3/persistent - TimeStamp.c:1.3.2.3 cPersistence.c:1.72.8.28 cPickleCache.c:1.85.8.16 list.py:1.3.96.1 mapping.py:1.20.96.1

Jim Fulton cvs-admin at zope.org
Tue Oct 28 16:29:06 EST 2003


Update of /cvs-repository/ZODB3/persistent
In directory cvs.zope.org:/tmp/cvs-serv9166/persistent

Modified Files:
      Tag: zodb33-devel-branch
	TimeStamp.c cPersistence.c cPickleCache.c list.py mapping.py 
Log Message:
Renamed the Persistence package to persistent.

The Persistence package is still there for backward compatability.


=== ZODB3/persistent/TimeStamp.c 1.3.2.2 => 1.3.2.3 ===
--- ZODB3/persistent/TimeStamp.c:1.3.2.2	Mon Jul  7 17:06:40 2003
+++ ZODB3/persistent/TimeStamp.c	Tue Oct 28 16:28:33 2003
@@ -298,7 +298,7 @@
 static PyTypeObject TimeStamp_type = {
     PyObject_HEAD_INIT(NULL)
     0,
-    "Persistence.TimeStamp",
+    "persistent.TimeStamp",
     sizeof(TimeStamp),
     0,
     (destructor)TimeStamp_dealloc,	/* tp_dealloc */


=== ZODB3/persistent/cPersistence.c 1.72.8.27 => 1.72.8.28 ===
--- ZODB3/persistent/cPersistence.c:1.72.8.27	Mon Jul 14 17:52:08 2003
+++ ZODB3/persistent/cPersistence.c	Tue Oct 28 16:28:33 2003
@@ -759,7 +759,7 @@
 static PyTypeObject Pertype = {
     PyObject_HEAD_INIT(DEFERRED_ADDRESS(&PyPersist_MetaType))
     0,					/* ob_size */
-    "Persistence.Persistent",		/* tp_name */
+    "persistent.Persistent",		/* tp_name */
     sizeof(cPersistentObject),		/* tp_basicsize */
     0,					/* tp_itemsize */
     (destructor)Per_dealloc,		/* tp_dealloc */
@@ -863,7 +863,7 @@
     if (!py_simple_new)
         return;
 
-    m = PyImport_ImportModule("Persistence.TimeStamp");
+    m = PyImport_ImportModule("persistent.TimeStamp");
     if (!m)
 	return;
     TimeStamp = PyObject_GetAttrString(m, "TimeStamp");


=== ZODB3/persistent/cPickleCache.c 1.85.8.15 => 1.85.8.16 ===
--- ZODB3/persistent/cPickleCache.c:1.85.8.15	Wed Jul  9 17:22:51 2003
+++ ZODB3/persistent/cPickleCache.c	Tue Oct 28 16:28:33 2003
@@ -727,7 +727,7 @@
     }
     else if (v->ob_type->tp_basicsize < sizeof(cPersistentObject)) {
         /* If it's not an instance of a persistent class, (ie Python
-	   classes that derive from Persistence.Persistent, BTrees,
+	   classes that derive from persistent.Persistent, BTrees,
 	   etc), report an error.
 
 	   XXX Need a better test.
@@ -924,7 +924,7 @@
 static PyTypeObject Cctype = {
     PyObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type))
     0,					/* ob_size */
-    "Persistence.PickleCache",		/* tp_name */
+    "persistent.PickleCache",		/* tp_name */
     sizeof(ccobject),			/* tp_basicsize */
     0,					/* tp_itemsize */
     (destructor)cc_dealloc,		/* tp_dealloc */
@@ -976,7 +976,7 @@
     m = Py_InitModule3("cPickleCache", NULL, cPickleCache_doc_string);
 
     capi = (cPersistenceCAPIstruct *)PyCObject_Import(
-	"Persistence.cPersistence", "CAPI");
+	"persistent.cPersistence", "CAPI");
     if (!capi)
 	return;
     capi->percachedel = (percachedelfunc)cc_oid_unreferenced;


=== ZODB3/persistent/list.py 1.3 => 1.3.96.1 ===
--- ZODB3/persistent/list.py:1.3	Wed Aug 14 18:07:09 2002
+++ ZODB3/persistent/list.py	Tue Oct 28 16:28:33 2003
@@ -18,10 +18,10 @@
 
 __version__='$Revision$'[11:-2]
 
-import Persistence
+import persistent
 from UserList import UserList
 
-class PersistentList(UserList, Persistence.Persistent):
+class PersistentList(UserList, persistent.Persistent):
     __super_setitem = UserList.__setitem__
     __super_delitem = UserList.__delitem__
     __super_setslice = UserList.__setslice__


=== ZODB3/persistent/mapping.py 1.20 => 1.20.96.1 ===
--- ZODB3/persistent/mapping.py:1.20	Wed Aug 14 18:07:09 2002
+++ ZODB3/persistent/mapping.py	Tue Oct 28 16:28:33 2003
@@ -18,10 +18,10 @@
 
 __version__='$Revision$'[11:-2]
 
-import Persistence
+import persistent
 from UserDict import UserDict
 
-class PersistentMapping(UserDict, Persistence.Persistent):
+class PersistentMapping(UserDict, persistent.Persistent):
     """A persistent wrapper for mapping objects.
 
     This class allows wrapping of mapping objects so that object




More information about the Zodb-checkins mailing list