[pypy-svn] r15297 - pypy/dist/pypy/lib/_stablecompiler

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Jul 28 22:16:37 CEST 2005


Author: cfbolz
Date: Thu Jul 28 22:16:36 2005
New Revision: 15297

Modified:
   pypy/dist/pypy/lib/_stablecompiler/transformer.py
Log:
(arigo, cfbolz)
removed another eval

Modified: pypy/dist/pypy/lib/_stablecompiler/transformer.py
==============================================================================
--- pypy/dist/pypy/lib/_stablecompiler/transformer.py	(original)
+++ pypy/dist/pypy/lib/_stablecompiler/transformer.py	Thu Jul 28 22:16:36 2005
@@ -1319,7 +1319,7 @@
             if node[0][0] == token.STRING:
                 s = ''
                 for t in node:
-                    s = s + eval(t[1])
+                    s = s + parser.decode_string_literal(t[1])
                 return s
             return None
         if n == symbol.stmt or n == symbol.simple_stmt \



More information about the Pypy-commit mailing list