[pypy-commit] lang-smalltalk default: more on special objects

krono noreply at buildbot.pypy.org
Mon Feb 18 15:06:41 CET 2013


Author: Tobias Pape <tobias at netshed.de>
Branch: 
Changeset: r34:ee25b9f840e6
Date: 2013-02-18 15:06 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/ee25b9f840e6/

Log:	more on special objects

diff --git a/spyvm/constants.py b/spyvm/constants.py
--- a/spyvm/constants.py
+++ b/spyvm/constants.py
@@ -59,7 +59,7 @@
 SO_SMALLINTEGER_CLASS = 5
 SO_STRING_CLASS = 6
 SO_ARRAY_CLASS = 7
-SO_SMALLTALK = 8
+SO_SMALLTALK = 8 # Deperacted
 SO_FLOAT_CLASS = 9
 SO_METHODCONTEXT_CLASS = 10
 SO_BLOCKCONTEXT_CLASS = 11
@@ -89,7 +89,7 @@
 SO_A_METHODCONTEXT = 35 # deprecated in closure images
 SO_BLOCKCLOSURE_CLASS = 36 
 SO_A_BLOCKCONTEXT = 37 # deprecated in closure images
-SO_AN_ARRAY = 38
+SO_EXTERNAL_OBJECTS_ARRAY = 38
 SO_PSEUDOCONTEXT_CLASS = 39
 SO_TRANSLATEDMETHOD_CLASS = 40
 SO_FINALIZATION_SEMPAHORE = 41
diff --git a/spyvm/test/test_miniimage.py b/spyvm/test/test_miniimage.py
--- a/spyvm/test/test_miniimage.py
+++ b/spyvm/test/test_miniimage.py
@@ -154,9 +154,10 @@
     assert str(w.getclass(space)) == "Symbol class" # for some strange reason not a symbol
     
     
-    """SO_DOES_NOT_UNDERSTAND = 20
+    """
+    SO_DOES_NOT_UNDERSTAND = 20
     SO_CANNOT_RETURN = 21
-    # no clue what 22 is doing
+    SO_PROCESS_SIGNALIGN_LOW_SPACE = 22 # the process that triggered the low space semaphore. mostly nil
     SO_SPECIAL_SELECTORS_ARRAY = 23
     SO_CHARACTER_TABLE_ARRAY = 24
     SO_MUST_BE_BOOLEAN = 25
@@ -169,14 +170,15 @@
     SO_LARGEPOSITIVEINTEGER_ZERO = 32
     SO_A_POINT = 33
     SO_CANNOT_INTERPRET = 34
-    SO_A_METHODCONTEXT = 35
-    # no clue what 36 is doing
-    SO_A_BLOCKCONTEXT = 37
-    SO_AN_ARRAY = 38
+    SO_A_METHODCONTEXT = 35 # deprecated in closure images
+    SO_BLOCKCLOSURE_CLASS = 36 
+    SO_A_BLOCKCONTEXT = 37 # deprecated in closure images
+    SO_EXTERNAL_OBJECTS_ARRAY = 38
     SO_PSEUDOCONTEXT_CLASS = 39
     SO_TRANSLATEDMETHOD_CLASS = 40
     SO_FINALIZATION_SEMPAHORE = 41
-    SO_LARGENEGATIVEINTEGER_CLASS = 42"""
+    SO_LARGENEGATIVEINTEGER_CLASS = 42
+    """
 
 
 


More information about the pypy-commit mailing list