[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/ExportImport.py Added a comment noting that the persistent loading code here *should*

Jim Fulton jim at zope.com
Thu Jun 9 13:56:06 EDT 2005


Log message for revision 30714:
  Added a comment noting that the persistent loading code here *should*
  be consistent with the code in serialize.py. (It currently isn't.)
  

Changed:
  U   ZODB/trunk/src/ZODB/ExportImport.py

-=-
Modified: ZODB/trunk/src/ZODB/ExportImport.py
===================================================================
--- ZODB/trunk/src/ZODB/ExportImport.py	2005-06-09 17:56:04 UTC (rev 30713)
+++ ZODB/trunk/src/ZODB/ExportImport.py	2005-06-09 17:56:06 UTC (rev 30714)
@@ -88,6 +88,10 @@
         """
         oids = {}
 
+        # IMPORTANT: This code should be consistent with the code in
+        # serialize.py. It is currently out of date and doesn't handle
+        # weak references.
+
         def persistent_load(ooid):
             """Remap a persistent id to a new ID and create a ghost for it."""
 



More information about the Zodb-checkins mailing list