Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: kill-someobject
Changeset: r58028:cf588d1cd5f3
Date: 2012-10-12 14:45 +0200
http://bitbucket.org/pypy/pypy/changeset/cf588d1cd5f3/

Log:    merge

diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py
--- a/pypy/interpreter/gateway.py
+++ b/pypy/interpreter/gateway.py
@@ -876,8 +876,7 @@
                 if isinstance(spec, tuple) and spec[0] is W_Root:
                     assert False, "use WrappedDefault"
                 if isinstance(spec, WrappedDefault):
-                    w_default = eval('space.wrap(%r)' % (spec.default_value,),
-                                     {'space': space})
+                    w_default = space.wrap(spec.default_value)
                     assert isinstance(w_default, W_Root)
                     assert argname.startswith('w_')
                     argname = argname[2:]
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to