Author: Anton Gulenko <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit