[pypy-commit] pypy default: mark space.wrap @not_rpython
cfbolz
pypy.commits at gmail.com
Mon Feb 20 07:43:51 EST 2017
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
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
More information about the pypy-commit
mailing list