[Zodb-checkins] CVS: ZODB3/BTrees - BTreeModuleTemplate.c:1.37.92.4 IIBTree.py:1.7.18.1 IOBTree.py:1.7.18.1 OIBTree.py:1.8.18.1 OOBTree.py:1.8.18.1

Tim Peters tim.one at comcast.net
Thu Jul 3 19:12:05 EDT 2003


Update of /cvs-repository/ZODB3/BTrees
In directory cvs.zope.org:/tmp/cvs-serv28863/BTrees

Modified Files:
      Tag: zodb33-devel-branch
	BTreeModuleTemplate.c IIBTree.py IOBTree.py OIBTree.py 
	OOBTree.py 
Log Message:
Scads of renaming gets the BTrees closer to being farther away from
complete uselessness.


=== ZODB3/BTrees/BTreeModuleTemplate.c 1.37.92.3 => 1.37.92.4 ===
--- ZODB3/BTrees/BTreeModuleTemplate.c:1.37.92.3	Thu Jul  3 17:52:03 2003
+++ ZODB3/BTrees/BTreeModuleTemplate.c	Thu Jul  3 18:11:56 2003
@@ -50,7 +50,7 @@
   may be a bug in Python 2.2).
 */
 
-#define MODULE_NAME "zodb.btrees." MOD_NAME_PREFIX "BTree."
+#define MODULE_NAME "BTrees._" MOD_NAME_PREFIX "BTree."
 
 static PyObject *sort_str, *reverse_str, *__setstate___str,
     *_bucket_type_str;
@@ -474,7 +474,7 @@
     }
 
     /* Create the module and add the functions */
-    m = Py_InitModule4("_zodb_btrees_" MOD_NAME_PREFIX "BTree",
+    m = Py_InitModule4("_" MOD_NAME_PREFIX "BTree",
 		       module_methods, BTree_module_documentation,
 		       (PyObject *)NULL, PYTHON_API_VERSION);
 


=== ZODB3/BTrees/IIBTree.py 1.7 => 1.7.18.1 ===
--- ZODB3/BTrees/IIBTree.py:1.7	Tue Feb 18 14:05:18 2003
+++ ZODB3/BTrees/IIBTree.py	Thu Jul  3 18:11:56 2003
@@ -14,8 +14,3 @@
 
 # hack to overcome dynamic-linking headache.
 from _IIBTree import *
-
-# We don't really want _ names in pickles, so update all of the __module__
-# references.
-for obj in IIBucket, IIBTree, IISet, IITreeSet:
-    obj.__module__ = __name__


=== ZODB3/BTrees/IOBTree.py 1.7 => 1.7.18.1 ===
--- ZODB3/BTrees/IOBTree.py:1.7	Tue Feb 18 14:05:18 2003
+++ ZODB3/BTrees/IOBTree.py	Thu Jul  3 18:11:56 2003
@@ -14,8 +14,3 @@
 
 # hack to overcome dynamic-linking headache.
 from _IOBTree import *
-
-# We don't really want _ names in pickles, so update all of the __module__
-# references.
-for obj in IOBucket, IOBTree, IOSet, IOTreeSet:
-    obj.__module__ = __name__


=== ZODB3/BTrees/OIBTree.py 1.8 => 1.8.18.1 ===
--- ZODB3/BTrees/OIBTree.py:1.8	Tue Feb 18 14:05:18 2003
+++ ZODB3/BTrees/OIBTree.py	Thu Jul  3 18:11:56 2003
@@ -14,8 +14,3 @@
 
 # hack to overcome dynamic-linking headache.
 from _OIBTree import *
-
-# We don't really want _ names in pickles, so update all of the __module__
-# references.
-for obj in OIBucket, OIBTree, OISet, OITreeSet:
-    obj.__module__ = __name__


=== ZODB3/BTrees/OOBTree.py 1.8 => 1.8.18.1 ===
--- ZODB3/BTrees/OOBTree.py:1.8	Tue Feb 18 14:05:18 2003
+++ ZODB3/BTrees/OOBTree.py	Thu Jul  3 18:11:56 2003
@@ -14,8 +14,3 @@
 
 # hack to overcome dynamic-linking headache.
 from _OOBTree import *
-
-# We don't really want _ names in pickles, so update all of the __module__
-# references.
-for obj in OOBucket, OOBTree, OOSet, OOTreeSet:
-    obj.__module__ = __name__




More information about the Zodb-checkins mailing list