[Zope-Checkins] CVS: Zope/lib/Components/BTree - BTree.c:1.30.34.1 intSet.c:1.21.34.1
Casey Duncan
casey@zope.com
Wed, 27 Mar 2002 15:52:03 -0500
Update of /cvs-repository/Zope/lib/Components/BTree
In directory cvs.zope.org:/tmp/cvs-serv22094/lib/Components/BTree
Modified Files:
Tag: casey-death_to_index_html-branch
BTree.c intSet.c
Log Message:
Updating branch to head for testing
=== Zope/lib/Components/BTree/BTree.c 1.30 => 1.30.34.1 ===
if(HasInstDict(self) && (dict=INSTANCE_DICT(self))) PyDict_Clear(dict);
self->len=0;
- self->state=cPersistent_GHOST_STATE;
+ PER_GHOSTIFY(self);
}
Py_INCREF(Py_None);
@@ -1163,7 +1163,7 @@
if(_BTree_clear(self) < 0) return NULL;
if(HasInstDict(self) && (dict=INSTANCE_DICT(self))) PyDict_Clear(dict);
- self->state=cPersistent_GHOST_STATE;
+ PER_GHOSTIFY(self);
}
Py_INCREF(Py_None);
@@ -2027,9 +2027,6 @@
#endif
{
PyObject *m, *d;
- char *rev="$Revision$";
-
-
UNLESS(PyExtensionClassCAPI=PyCObject_Import("ExtensionClass","CAPI"))
return;
@@ -2073,10 +2070,6 @@
PyExtensionClass_Export(d,"Bucket",BucketType);
PyExtensionClass_Export(d,"BTree",BTreeType);
- PyDict_SetItemString(d, "__version__",
- PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
-
-
/* Check for errors */
if (PyErr_Occurred())
Py_FatalError("can't initialize module BTree");
=== Zope/lib/Components/BTree/intSet.c 1.21 => 1.21.34.1 ===
{
PyDict_Clear(dict);
- self->state=cPersistent_GHOST_STATE;
+ PER_GHOSTIFY(self);
}
Py_INCREF(Py_None);
@@ -524,7 +524,6 @@
initintSet(void)
{
PyObject *m, *d;
- char *rev="$Revision$";
UNLESS(ExtensionClassImported) return;
@@ -545,10 +544,6 @@
d = PyModule_GetDict(m);
PyExtensionClass_Export(d,"intSet",intSetType);
-
- PyDict_SetItemString(d, "__version__",
- PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
-
/* Check for errors */
if (PyErr_Occurred())