[pypy-svn] r53471 - pypy/dist/pypy/lib
arigo at codespeak.net
arigo at codespeak.net
Sun Apr 6 18:13:18 CEST 2008
Author: arigo
Date: Sun Apr 6 18:13:18 2008
New Revision: 53471
Modified:
pypy/dist/pypy/lib/_pypy_interact.py
Log:
Add an XXX.
Modified: pypy/dist/pypy/lib/_pypy_interact.py
==============================================================================
--- pypy/dist/pypy/lib/_pypy_interact.py (original)
+++ pypy/dist/pypy/lib/_pypy_interact.py Sun Apr 6 18:13:18 2008
@@ -59,6 +59,10 @@
statement = multiline_input(more_lines, ps1, ps2)
except EOFError:
break
+ # XXX with Alt-Enter we can actually enter more than one
+ # statement, and compile() ignores everything after the
+ # first statement in 'single' mode... We should either
+ # find some obscure workaround or tweak PyPy's compiler.
more = console.push(statement)
assert not more
except KeyboardInterrupt:
More information about the pypy-svn
mailing list