[pypy-svn] r55037 - pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk

cfbolz at codespeak.net cfbolz at codespeak.net
Tue May 20 20:18:45 CEST 2008


Author: cfbolz
Date: Tue May 20 20:18:44 2008
New Revision: 55037

Modified:
   pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/primitives.py
Log:
fix exception


Modified: pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/primitives.py
==============================================================================
--- pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/primitives.py	(original)
+++ pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/primitives.py	Tue May 20 20:18:44 2008
@@ -505,7 +505,7 @@
 def func(interp, w_rcvr, w_new):
     if w_rcvr.become(w_new):
         return w_rcvr
-    raise PrimitiveNotYetWrittenError
+    raise PrimitiveFailedError
 
 def fake_bytes_left():
     return utility.wrap_int(2**20) # XXX we don't know how to do this :-(



More information about the Pypy-commit mailing list