[pypy-svn] rev 1071 - pypy/trunk/src/pypy/module

gvanrossum at codespeak.net gvanrossum at codespeak.net
Mon Jun 30 16:55:08 CEST 2003


Author: gvanrossum
Date: Mon Jun 30 16:55:08 2003
New Revision: 1071

Modified:
   pypy/trunk/src/pypy/module/builtin.py
Log:
Add TypeError and type to the Builtin class, hoping to get some more
Ann space code to work (these are used by some appspace helpers called
from the interpreter).


Modified: pypy/trunk/src/pypy/module/builtin.py
==============================================================================
--- pypy/trunk/src/pypy/module/builtin.py	(original)
+++ pypy/trunk/src/pypy/module/builtin.py	Mon Jun 30 16:55:08 2003
@@ -179,6 +179,9 @@
     # we have None! But leave these at the bottom, otherwise the default
     # arguments of the above-defined functions will see this new None...
     None = appdata(_b.None)
+    # XXX Add these for Ann space.
+    TypeError = appdata(_b.TypeError)
+    type = appdata(_b.type)
 ##    False = appdata(_b.False)
 ##    True = appdata(_b.True)
 ##    dict = appdata(_b.dict)   # XXX temporary


More information about the Pypy-commit mailing list