[pypy-svn] rev 858 - pypy/trunk/src/pypy/objspace/std

tismer at codespeak.net tismer at codespeak.net
Sat Jun 21 17:17:09 CEST 2003


Author: tismer
Date: Sat Jun 21 17:17:08 2003
New Revision: 858

Modified:
   pypy/trunk/src/pypy/objspace/std/longobject.py
   pypy/trunk/src/pypy/objspace/std/longobject_app.py
   pypy/trunk/src/pypy/objspace/std/objspace.py
Log:
reviewed, an early attempt that had never been completed and should be removed.

Modified: pypy/trunk/src/pypy/objspace/std/longobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/longobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/longobject.py	Sat Jun 21 17:17:08 2003
@@ -1,3 +1,11 @@
+"""
+Reviewed 03-06-21
+This isn't used at all, nor tested, and is totally cheating.
+There isn't even any corresponding longtype.  Should perhaps
+be just removed.
+"""
+
+
 from pypy.objspace.std.objspace import *
 
 

Modified: pypy/trunk/src/pypy/objspace/std/longobject_app.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/longobject_app.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/longobject_app.py	Sat Jun 21 17:17:08 2003
@@ -1,3 +1,11 @@
+"""
+Reviewed 03-06-21
+This isn't used at all, nor tested, and is totally cheating.
+It even has a syntax error...!
+There isn't even any corresponding longtype.  Should perhaps
+be just removed.
+"""
+
 def long_getattr(i, attr):
     if attr == "__class__":
         return int

Modified: pypy/trunk/src/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/objspace.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/objspace.py	Sat Jun 21 17:17:08 2003
@@ -1,3 +1,9 @@
+"""
+without intending to test objectspace, we discovered
+some unforeseen wrapping of PyByteCode.
+XXX further analysis needed.
+"""
+
 import pypy.interpreter.appfile
 from pypy.interpreter.baseobjspace import *
 from multimethod import *
@@ -211,6 +217,8 @@
             wrappeditems = [self.wrap(item) for item in x]
             import listobject
             return listobject.W_ListObject(self, wrappeditems)
+        # print "wrapping %r (%s)" % (x, type(x))
+        # XXX unexpected wrapping of PyByteCode
         import cpythonobject
         return cpythonobject.W_CPythonObject(self, x)
 


More information about the Pypy-commit mailing list