[pypy-commit] lang-smalltalk rstrategies: Fixed RPython compilation.

anton_gulenko noreply at buildbot.pypy.org
Thu Oct 16 16:56:52 CEST 2014


Author: Anton Gulenko <anton.gulenko at googlemail.com>
Branch: rstrategies
Changeset: r1053:eeed8faa2479
Date: 2014-09-24 16:59 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/eeed8faa2479/

Log:	Fixed RPython compilation.

diff --git a/spyvm/squeakimage.py b/spyvm/squeakimage.py
--- a/spyvm/squeakimage.py
+++ b/spyvm/squeakimage.py
@@ -199,7 +199,7 @@
         self._assign_prebuilt_constants(constants.objects_in_special_object_table, self.space.objtable)
         classtable = self.space.classtable
         if not self.version.is_modern:
-            classtable = dict(classtable)
+            classtable = classtable.copy()
             # In non-modern images (pre 4.0), there was no BlockClosure class.
             del classtable["w_BlockClosure"]
         self._assign_prebuilt_constants(constants.classes_in_special_object_table, classtable)


More information about the pypy-commit mailing list