[pypy-svn] r78216 - pypy/trunk/pypy/translator/goal

arigo at codespeak.net arigo at codespeak.net
Fri Oct 22 17:12:00 CEST 2010


Author: arigo
Date: Fri Oct 22 17:11:59 2010
New Revision: 78216

Modified:
   pypy/trunk/pypy/translator/goal/app_main.py
Log:
Print an error message here.


Modified: pypy/trunk/pypy/translator/goal/app_main.py
==============================================================================
--- pypy/trunk/pypy/translator/goal/app_main.py	(original)
+++ pypy/trunk/pypy/translator/goal/app_main.py	Fri Oct 22 17:11:59 2010
@@ -386,8 +386,9 @@
                 if python_startup:
                     try:
                         startup = open(python_startup).read()
-                    except IOError:
-                        pass
+                    except IOError, e:
+                        print >> sys.stderr, "Could not open PYTHONSTARTUP"
+                        print >> sys.stderr, "IOError:", e
                     else:
                         def run_it():
                             co_python_startup = compile(startup,



More information about the Pypy-commit mailing list