Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r51417:2c6715a45957
Date: 2012-01-17 20:26 +0100
http://bitbucket.org/pypy/pypy/changeset/2c6715a45957/

Log:    Add a reminder about the broken pyrepl.

diff --git a/lib_pypy/_pypy_interact.py b/lib_pypy/_pypy_interact.py
--- a/lib_pypy/_pypy_interact.py
+++ b/lib_pypy/_pypy_interact.py
@@ -36,6 +36,9 @@
         from pyrepl.simple_interact import run_multiline_interactive_console
     except ImportError:
         run_simple_interactive_console(mainmodule)
+    except SyntaxError:
+        print("Warning: 'import pyrepl' failed with SyntaxError")
+        run_simple_interactive_console(mainmodule)
     else:
         run_multiline_interactive_console(mainmodule)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to