[pypy-svn] r13494 - pypy/dist/pypy/rpython
ale at codespeak.net
ale at codespeak.net
Fri Jun 17 00:20:50 CEST 2005
Author: ale
Date: Fri Jun 17 00:20:49 2005
New Revision: 13494
Modified:
pypy/dist/pypy/rpython/interp.py
Log:
reverting changes to setvar
Modified: pypy/dist/pypy/rpython/interp.py
==============================================================================
--- pypy/dist/pypy/rpython/interp.py (original)
+++ pypy/dist/pypy/rpython/interp.py Fri Jun 17 00:20:49 2005
@@ -30,19 +30,6 @@
def setvar(self, var, val):
# XXX assert that val "matches" lowlevel type
- if isinstance(val,list):
- fun = compile2("""
- def f():
- r = %s
- return r"""%repr(val))
- exec fun
- t=Translator(f)
- t.annotate([])
- t.specialize()
- #t.view()
-
- val = self.eval_graph(t.getflowgraph())
- print val
self.bindings[var] = val
More information about the Pypy-commit
mailing list