Commit e6ec2ba6 authored by Tres Seaver's avatar Tres Seaver

Note discrepancy.

parent 97ef12dd
......@@ -73,6 +73,8 @@ class PersistentWeakKeyDictionary(Persistent):
# It would be helpful if the data manager/connection cached these.
def __init__(self, adict=None, **kwargs):
# XXX 'kwargs' is pointles, because keys must be strings, but we
# are going to try (and fail) to wrap a WeakRef around them.
self.data = {}
if adict is not None:
keys = getattr(adict, "keys", None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment