[Zodb-checkins] SVN:	ZODB/branches/tseaver-python_picklecache/src/ZODB/serialize.py	Note inappropriate reacharound.
    Tres Seaver 
    tseaver at palladion.com
       
    Tue Mar 31 16:39:22 EDT 2009
    
    
  
Log message for revision 98732:
  Note inappropriate reacharound.
Changed:
  U   ZODB/branches/tseaver-python_picklecache/src/ZODB/serialize.py
-=-
Modified: ZODB/branches/tseaver-python_picklecache/src/ZODB/serialize.py
===================================================================
--- ZODB/branches/tseaver-python_picklecache/src/ZODB/serialize.py	2009-03-31 20:38:54 UTC (rev 98731)
+++ ZODB/branches/tseaver-python_picklecache/src/ZODB/serialize.py	2009-03-31 20:39:22 UTC (rev 98732)
@@ -304,6 +304,7 @@
                         # to be added.  We'll be optimistic, though, and
                         # assume that the object will be added eventually.
 
+                        # TODO: should be done by connection
                         oid = self._jar.new_oid()
                         obj._p_jar = self._jar
                         obj._p_oid = oid
@@ -319,6 +320,7 @@
         database_name = None
 
         if oid is None:
+            # TODO: should be done by connection
             oid = obj._p_oid = self._jar.new_oid()
             obj._p_jar = self._jar
             self._stack.append(obj)
    
    
More information about the Zodb-checkins
mailing list