[pypy-svn] r39297 - pypy/dist/pypy/objspace

pedronis at codespeak.net pedronis at codespeak.net
Wed Feb 21 17:08:38 CET 2007


Author: pedronis
Date: Wed Feb 21 17:08:37 2007
New Revision: 39297

Modified:
   pypy/dist/pypy/objspace/taint.py
Log:
step toward making this translatable, lookup* needs a solution tough



Modified: pypy/dist/pypy/objspace/taint.py
==============================================================================
--- pypy/dist/pypy/objspace/taint.py	(original)
+++ pypy/dist/pypy/objspace/taint.py	Wed Feb 21 17:08:37 2007
@@ -129,7 +129,7 @@
     unwrap_spec=[gateway.ObjSpace, gateway.W_Root, 'args_w'])
 
 def taint_atomic(space, w_callable):
-    meth = Method(space, space.wrap(app_taint_atomic_function),
+    meth = Method(space, space.wrap(space.w_fn_taint_atomic_function),
                   w_callable, space.type(w_callable))
     return space.wrap(meth)
 app_taint_atomic = gateway.interp2app(taint_atomic)
@@ -194,6 +194,7 @@
                      self.wrap(app_is_tainted))
         self.setattr(w_pypymagic, self.wrap('untaint'),
                      self.wrap(app_untaint))
+        self.w_fn_taint_atomic_function = self.wrap(app_taint_atomic_function)
         self.setattr(w_pypymagic, self.wrap('taint_atomic'),
                      self.wrap(app_taint_atomic))
         self.setattr(w_pypymagic, self.wrap('TaintError'),



More information about the Pypy-commit mailing list