Author: Anton Gulenko <[email protected]>
Branch: rstrategies
Changeset: r1052:1b0742051354
Date: 2014-09-24 16:43 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/1b0742051354/

Log:    Added image_loaded indicator in objspace.

diff --git a/spyvm/objspace.py b/spyvm/objspace.py
--- a/spyvm/objspace.py
+++ b/spyvm/objspace.py
@@ -53,6 +53,7 @@
         self.run_spy_hacks = ConstantFlag()
         self.headless = ConstantFlag()
         self.omit_printing_raw_bytes = ConstantFlag()
+        self.image_loaded = ConstantFlag()
         
         self.classtable = {}
         self.objtable = {}
@@ -88,6 +89,7 @@
         assert i > 0
         self._executable_path.set(fullpath[:i])
         self._image_name.set(image_name)
+        self.image_loaded.activate()
 
     def populate_special_objects(self, specials):
         for name, idx in constants.objects_in_special_object_table.items():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to