Author: Maciej Fijalkowski <[email protected]>
Branch: rdict-experiments
Changeset: r59663:caddef001cdc
Date: 2013-01-03 11:26 +0200
http://bitbucket.org/pypy/pypy/changeset/caddef001cdc/

Log:    missing cast

diff --git a/pypy/rlib/dict.py b/pypy/rlib/dict.py
--- a/pypy/rlib/dict.py
+++ b/pypy/rlib/dict.py
@@ -109,7 +109,7 @@
                 if self.filled * 3 > len(self.indices) * 2:
                     self._resize(4 * self.__len__())
         else:
-            self.values[index].value = value
+            self.values[index].value = _cast_to_gcref(value)
 
     def __delitem__(self, key):
         hashvalue = hash(key)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to