[Zope-CVS] CVS: Products/AdaptableStorage/serial_std - FixedPersistentMapping.py:1.6
Shane Hathaway
shane@zope.com
Mon, 16 Dec 2002 18:26:42 -0500
Update of /cvs-repository/Products/AdaptableStorage/serial_std
In directory cvs.zope.org:/tmp/cvs-serv25263/serial_std
Modified Files:
FixedPersistentMapping.py
Log Message:
- loadStub() now expects "hints" that help it avoid loading the entire object
into memory. mapper_names is a good hint, but frequently unknown to the
application.
- Added modifiedInVersion() to UnmanagedJar, since PersistentExtra expects to
find it.
=== Products/AdaptableStorage/serial_std/FixedPersistentMapping.py 1.5 => 1.6 ===
--- Products/AdaptableStorage/serial_std/FixedPersistentMapping.py:1.5 Mon Dec 9 13:25:29 2002
+++ Products/AdaptableStorage/serial_std/FixedPersistentMapping.py Mon Dec 16 18:26:42 2002
@@ -53,7 +53,8 @@
assert state is None
data = {}
for name, (keychain, mapper_names) in self.map.items():
- subob = event.dereference(name, keychain, mapper_names)
+ subob = event.dereference(name, keychain,
+ {'mapper_names': mapper_names})
data[name] = subob
# The PersistentMapping doesn't have its data or _container
# attribute yet, and we don't know what its name should be