Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r61355:4952d201e6a0
Date: 2013-02-17 11:24 -0800
http://bitbucket.org/pypy/pypy/changeset/4952d201e6a0/

Log:    ensure stderr's initialized before printing to it. this isn't easy
        to test

diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
--- a/pypy/interpreter/app_main.py
+++ b/pypy/interpreter/app_main.py
@@ -672,6 +672,7 @@
     executable = sys.pypy_find_executable(executable)
     stdlib_path = sys.pypy_find_stdlib(executable)
     if stdlib_path is None:
+        initstdio()
         print(STDLIB_WARNING, file=sys.stderr)
     else:
         sys.path[:] = stdlib_path
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to