[Checkins] SVN: persistent/trunk/ Note discrepancy.

Tres Seaver cvs-admin at zope.org
Thu Jun 28 22:50:25 UTC 2012


Log message for revision 127165:
  Note discrepancy.

Changed:
  _U  persistent/trunk/
  U   persistent/trunk/persistent/wref.py

-=-
Modified: persistent/trunk/persistent/wref.py
===================================================================
--- persistent/trunk/persistent/wref.py	2012-06-28 22:50:18 UTC (rev 127164)
+++ persistent/trunk/persistent/wref.py	2012-06-28 22:50:22 UTC (rev 127165)
@@ -73,6 +73,8 @@
     # 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)



More information about the checkins mailing list