Author: Juergen Boemmels <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit