[pypy-commit] lang-scheme default: write (and not display) the result of an evaluation

boemmels noreply at buildbot.pypy.org
Mon Nov 28 00:38:26 CET 2011


Author: Juergen Boemmels <boemmels at web.de>
Branch: 
Changeset: r15:9cc06ddcb223
Date: 2011-11-27 16:12 +0100
http://bitbucket.org/pypy/lang-scheme/changeset/9cc06ddcb223/

Log:	write (and not display) the result of an evaluation

diff --git a/scheme/interactive.py b/scheme/interactive.py
--- a/scheme/interactive.py
+++ b/scheme/interactive.py
@@ -31,7 +31,7 @@
                 if to_exec == "":
                     print
                     raise SchemeQuit
-                print parse(to_exec)[0].eval(ctx).to_string()
+                print parse(to_exec)[0].eval(ctx).to_repr()
             except SchemeQuit, e:
                 break
             except ContinuationReturn, e:


More information about the pypy-commit mailing list