Commits

Philip Jenvey  committed 4952d20

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

  • Participants
  • Parent commits 4fd8ae7
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/interpreter/app_main.py

     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