Author: Carl Friedrich Bolz <[email protected]>
Branch: 
Changeset: r90228:7ce64de7ad35
Date: 2017-02-20 13:43 +0100
http://bitbucket.org/pypy/pypy/changeset/7ce64de7ad35/

Log:    mark space.wrap @not_rpython

diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -133,10 +133,7 @@
         assert typedef is not None
         return self.fromcache(TypeCache).getorbuild(typedef)
 
-    # BACKCOMPAT: this function is still accepted for backward
-    # compatibility, but its usage should be progressively removed
-    # everywhere apart from tests.
-    #@not_rpython # only for tests
+    @not_rpython # only for tests
     @specialize.argtype(1)
     def wrap(self, x):
         """ Wraps the Python value 'x' into one of the wrapper classes. This
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to