Commits

Maciej Fijalkowski committed caddef0

missing cast

  • Participants
  • Parent commits 73c3796
  • Branches rdict-experiments

Comments (0)

Files changed (1)

File pypy/rlib/dict.py

                 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)